Telebot
4.7.0
Library for Telegram bot API
|
This object represents a message. More...
#include <telebot-types.h>
This object represents a message.
struct telebot_animation* telebot_message::animation |
Optional. Message is a animation, information about the animation
struct telebot_audio* telebot_message::audio |
Optional. Message is an audio file, information about the file
char* telebot_message::author_signature |
Optional. Signature of the post author for messages in channels
char* telebot_message::caption |
Optional. Caption for the photo or video
struct telebot_message_entity* telebot_message::caption_entities |
Optional. For messages with a caption, special entities like usernames, URLs, bot commands, etc. that appear in the caption.
bool telebot_message::channel_chat_created |
Optional. Service message: the channel has been created
struct telebot_chat* telebot_message::chat |
Conversation the message belongs to
char* telebot_message::connected_website |
Optional. The domain name of the website on which the user has logged in.
struct telebot_contact* telebot_message::contact |
Optional. Message is a shared contact, information about the contact
long telebot_message::date |
Date the message was sent in Unix time
bool telebot_message::delete_chat_photo |
Optional. Informs that the chat photo was deleted
struct telebot_dice* telebot_message::dice |
Optional. Message is a dice with random value from 1 to 6
struct telebot_document* telebot_message::document |
Optional. Message is a general file, information about the file
long telebot_message::edit_date |
Optional. Date the message was last edited in Unix time
struct telebot_message_entity* telebot_message::entities |
Optional. For text messages, special entities like usernames, URLs, bot commands, etc. that appear in the text.
long telebot_message::forward_date |
Optional. For forwarded messages, date the original message was sent in Unix time
struct telebot_user* telebot_message::forward_from |
Optional. For forwarded messages, sender of the original message
struct telebot_chat* telebot_message::forward_from_chat |
Optional. For messages forwarded from channels, information about the original channel
int telebot_message::forward_from_message_id |
Optional. For messages forwarded from channels, identifier of the original message in the channel
char* telebot_message::forward_sender_name |
Optional. Sender's name for messages forwarded from users who disallow adding a link to their account in forwarded messages
char* telebot_message::forward_signature |
Optional. For messages forwarded from channels, signature of the post author if present
struct telebot_user* telebot_message::from |
Optional. Sender, can be empty for messages sent to channels
struct telebot_game* telebot_message::game |
Optional. Message is a game, information about the game.
bool telebot_message::group_chat_created |
Optional. Informs that the group has been created
struct telebot_invoice* telebot_message::invoice |
Optional. Message is an invoice for a payment, information about the invoice.
struct telebot_user* telebot_message::left_chat_members |
Optional. A member was removed from the group, information about them (this member may be the bot itself)
struct telebot_location* telebot_message::location |
Optional. Message is a shared location, information about the location
char* telebot_message::media_group_id |
Optional. The unique identifier of a media message group this message belongs to
int telebot_message::message_id |
Unique message identifier
long long int telebot_message::migrate_from_chat_id |
Optional. The supergroup has been migrated from a group with the specified identifier, not exceeding 1e13 by absolute value
long long int telebot_message::migrate_to_chat_id |
Optional. The group has been migrated to a supergroup with the specified identifier, not exceeding 1e13 by absolute value
struct telebot_user* telebot_message::new_chat_members |
Optional. New members that were added to the group or supergroup and information about them (the bot itself may be one of these members)
struct telebot_photo* telebot_message::new_chat_photos |
Optional. A chat photo was change to this value
char* telebot_message::new_chat_title |
Optional. A chat title was changed to this value
struct telebot_passport_data* telebot_message::passport_data |
Telegram Passport data
struct telebot_photo* telebot_message::photos |
Optional. Message is a photo, available sizes of the photo
struct telebot_message* telebot_message::pinned_message |
Optional. Specified message was pinned. Note that the Message object in this field will not contain further reply_to_message fields even if it is itself a reply.
struct telebot_poll* telebot_message::poll |
Optional. Message is a native poll, information about the poll
struct inline_keyboard_markup* telebot_message::reply_markup |
Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.
struct telebot_message* telebot_message::reply_to_message |
For replies, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.
struct telebot_sticker* telebot_message::sticker |
Optional. Message is a sticker, information about the sticker
struct telebot_successful_payment* telebot_message::successful_payment |
Optional. Message is a service message about a successful payment, information about the payment.
bool telebot_message::supergroup_chat_created |
Optional. Service message: the supergroup has been created
char* telebot_message::text |
Optional. For text messages, the actual UTF-8 text of the message
struct telebot_venue* telebot_message::venue |
Optional. Message is a venue, information about the venue
struct telebot_video* telebot_message::video |
Optional. Message is a video, information about the video
struct telebot_video_note* telebot_message::video_note |
Optional. Message is a video note, information about the video message
struct telebot_voice* telebot_message::voice |
Optional. Message is a voice message, information about the file