Telegram Bot Api Client  0.6.1
Client_for_accessing_Telegram's_Bot_API
Public Attributes | List of all members
Message Struct Reference

Public Attributes

long UpdateId
 
long MessageId
 
long FromId
 
bool FromIsBot
 
String FromFirstName
 
String FromLastName
 
String FromLanguageCode
 
long ChatId
 
String ChatFirstName
 
String ChatLastName
 
String ChatType
 
String Text
 
long Date
 

Member Data Documentation

◆ ChatFirstName

String Message::ChatFirstName

chat_first_name: chat/first_name Optional. First name of the other party in a private chat

◆ ChatId

long Message::ChatId

chat_id: chat/id

Used to identify chat while posting a message Unique identifier for this chat. This number may be greater than 32 bits and some programming languages may have difficulty/silent defects in interpreting it. But it is smaller than 52 bits, so a signed 64 bit integer or double-precision float type are safe for storing this identifier.

◆ ChatLastName

String Message::ChatLastName

chat_last_name: chat/last_name Optional. Last name of the other party in a private chat

◆ ChatType

String Message::ChatType

chat_type: chat/type Type of chat, can be either “private”, “group”, “supergroup” or “channel”

◆ Date

long Message::Date

date: date Date the message was sent in Unix time

◆ FromFirstName

String Message::FromFirstName

from_first_name: from/first_name User‘s or bot’s first name

◆ FromId

long Message::FromId

from_id : from/id Unique identifier for this user or bot

◆ FromIsBot

bool Message::FromIsBot

from_is_bot: from/is_bot True, if this user is a bot

◆ FromLanguageCode

String Message::FromLanguageCode

from_language_code: from/language_code Optional. IETF language tag of the user's language

◆ FromLastName

String Message::FromLastName

from_last_name: from/last_name Optional. User‘s or bot’s last name

◆ MessageId

long Message::MessageId

message_id : message_id Unique message identifier inside this chat

◆ Text

String Message::Text

text: text Optional. For text messages, the actual UTF-8 text of the message, 0-4096 characters.

◆ UpdateId

long Message::UpdateId

update_id The update‘s unique identifier. Update identifiers start from a certain positive number and increase sequentially. This ID becomes especially handy if you’re using Webhooks, since it allows you to ignore repeated updates or to restore the correct update sequence, should they get out of order. If there are no new updates for at least a week, then identifier of the next update will be chosen randomly instead of sequentially.


The documentation for this struct was generated from the following file: