Types

Capitalized types are data structures represented as JSON objects. The different types in incoming messages are listed below.

File identifiers in the Photo, Sticker, GIF, Video, Audio, Voice, Document and Text_File document can be used to download the actual file, see Section 4.4

It is safe to use 32-bit signed integers for storing all Integer fields unless otherwise noted.

Long fields are sent as Strings to avoid problems with JavaScript based clients.

Optional fields may be not returned when not relevant.

Was this helpful to you?