Telegram Bot Api Client
0.6.1
Client_for_accessing_Telegram's_Bot_API
|
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 |
String Message::ChatFirstName |
chat_first_name: chat/first_name Optional. First name of the other party in a private chat
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.
String Message::ChatLastName |
chat_last_name: chat/last_name Optional. Last name of the other party in a private chat
String Message::ChatType |
chat_type: chat/type Type of chat, can be either “private”, “group”, “supergroup” or “channel”
long Message::Date |
date: date Date the message was sent in Unix time
String Message::FromFirstName |
from_first_name: from/first_name User‘s or bot’s first name
long Message::FromId |
from_id : from/id Unique identifier for this user or bot
bool Message::FromIsBot |
from_is_bot: from/is_bot True, if this user is a bot
String Message::FromLanguageCode |
from_language_code: from/language_code Optional. IETF language tag of the user's language
String Message::FromLastName |
from_last_name: from/last_name Optional. User‘s or bot’s last name
long Message::MessageId |
message_id : message_id Unique message identifier inside this chat
String Message::Text |
text: text Optional. For text messages, the actual UTF-8 text of the message, 0-4096 characters.
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.