Inherits Object.
Contains properties of a message and describes actions that can be done with the message right now.
Public Fields | |
bool | can_add_offer_ |
True, if an offer can be added to the message using addOffer. | |
bool | can_add_tasks_ |
True, if tasks can be added to the message's checklist using addChecklistTasks if the current user has Telegram Premium subscription. | |
bool | can_be_approved_ |
True, if the message is a suggested post that can be approved by the user using approveSuggestedPost. | |
bool | can_be_copied_ |
True, if content of the message can be copied using inputMessageForwarded or forwardMessages with copy options. | |
bool | can_be_copied_to_secret_chat_ |
True, if content of the message can be copied to a secret chat using inputMessageForwarded or forwardMessages with copy options. | |
bool | can_be_declined_ |
True, if the message is a suggested post that can be declined by the user using declineSuggestedPost. | |
bool | can_be_deleted_only_for_self_ |
True, if the message can be deleted only for the current user while other users will continue to see it using the method deleteMessages with revoke == false. | |
bool | can_be_deleted_for_all_users_ |
True, if the message can be deleted for all users using the method deleteMessages with revoke == true. | |
bool | can_be_edited_ |
True, if the message can be edited using the methods editMessageText, editMessageCaption, or editMessageReplyMarkup. For live location, poll, and checklist messages this fields shows whether editMessageLiveLocation, stopPoll, or editMessageChecklist respectively can be used with this message. | |
bool | can_be_forwarded_ |
True, if the message can be forwarded using inputMessageForwarded or forwardMessages without copy options. | |
bool | can_be_paid_ |
True, if the message can be paid using inputInvoiceMessage. | |
bool | can_be_pinned_ |
True, if the message can be pinned or unpinned in the chat using pinChatMessage or unpinChatMessage. | |
bool | can_be_replied_ |
True, if the message can be replied in the same chat and forum topic using inputMessageReplyToMessage. | |
bool | can_be_replied_in_another_chat_ |
True, if the message can be replied in another chat or forum topic using inputMessageReplyToExternalMessage. | |
bool | can_be_saved_ |
True, if content of the message can be saved locally. | |
bool | can_be_shared_in_story_ |
True, if the message can be shared in a story using inputStoryAreaTypeMessage. | |
bool | can_edit_media_ |
True, if the message can be edited using the method editMessageMedia. | |
bool | can_edit_scheduling_state_ |
True, if scheduling state of the message can be edited. | |
bool | can_edit_suggested_post_info_ |
True, if another price or post send time can be suggested using addOffer. | |
bool | can_get_author_ |
True, if author of the message sent on behalf of a chat can be received through getMessageAuthor. | |
bool | can_get_embedding_code_ |
True, if code for message embedding can be received using getMessageEmbeddingCode. | |
bool | can_get_link_ |
True, if a link can be generated for the message using getMessageLink. | |
bool | can_get_media_timestamp_links_ |
True, if media timestamp links can be generated for media timestamp entities in the message text, caption or link preview description using getMessageLink. | |
bool | can_get_message_thread_ |
True, if information about the message thread is available through getMessageThread and getMessageThreadHistory. | |
bool | can_get_read_date_ |
True, if read date of the message can be received through getMessageReadDate. | |
bool | can_get_statistics_ |
True, if message statistics are available through getMessageStatistics and message forwards can be received using getMessagePublicForwards. | |
bool | can_get_video_advertisements_ |
True, if advertisements for video of the message can be received though getVideoMessageAdvertisements. | |
bool | can_get_viewers_ |
True, if chat members already viewed the message can be received through getMessageViewers. | |
bool | can_mark_tasks_as_done_ |
True, if tasks can be marked as done or not done in the message's checklist using markChecklistTasksAsDone if the current user has Telegram Premium subscription. | |
bool | can_recognize_speech_ |
True, if speech can be recognized for the message through recognizeSpeech. | |
bool | can_report_chat_ |
True, if the message can be reported using reportChat. | |
bool | can_report_reactions_ |
True, if reactions on the message can be reported through reportMessageReactions. | |
bool | can_report_supergroup_spam_ |
True, if the message can be reported using reportSupergroupSpam. | |
bool | can_set_fact_check_ |
True, if fact check for the message can be changed through setMessageFactCheck. | |
bool | need_show_statistics_ |
True, if message statistics must be available from context menu of the message. | |
Static Public Attributes | |
static const std::int32_t | ID = 954223680 |
Identifier uniquely determining a type of the object. | |
Contains properties of a message and describes actions that can be done with the message right now.
messageProperties | ( | bool | can_add_offer_, |
bool | can_add_tasks_, | ||
bool | can_be_approved_, | ||
bool | can_be_copied_, | ||
bool | can_be_copied_to_secret_chat_, | ||
bool | can_be_declined_, | ||
bool | can_be_deleted_only_for_self_, | ||
bool | can_be_deleted_for_all_users_, | ||
bool | can_be_edited_, | ||
bool | can_be_forwarded_, | ||
bool | can_be_paid_, | ||
bool | can_be_pinned_, | ||
bool | can_be_replied_, | ||
bool | can_be_replied_in_another_chat_, | ||
bool | can_be_saved_, | ||
bool | can_be_shared_in_story_, | ||
bool | can_edit_media_, | ||
bool | can_edit_scheduling_state_, | ||
bool | can_edit_suggested_post_info_, | ||
bool | can_get_author_, | ||
bool | can_get_embedding_code_, | ||
bool | can_get_link_, | ||
bool | can_get_media_timestamp_links_, | ||
bool | can_get_message_thread_, | ||
bool | can_get_read_date_, | ||
bool | can_get_statistics_, | ||
bool | can_get_video_advertisements_, | ||
bool | can_get_viewers_, | ||
bool | can_mark_tasks_as_done_, | ||
bool | can_recognize_speech_, | ||
bool | can_report_chat_, | ||
bool | can_report_reactions_, | ||
bool | can_report_supergroup_spam_, | ||
bool | can_set_fact_check_, | ||
bool | need_show_statistics_ | ||
) |
Contains properties of a message and describes actions that can be done with the message right now.
[in] | can_add_offer_ | True, if an offer can be added to the message using addOffer. |
[in] | can_add_tasks_ | True, if tasks can be added to the message's checklist using addChecklistTasks if the current user has Telegram Premium subscription. |
[in] | can_be_approved_ | True, if the message is a suggested post that can be approved by the user using approveSuggestedPost. |
[in] | can_be_copied_ | True, if content of the message can be copied using inputMessageForwarded or forwardMessages with copy options. |
[in] | can_be_copied_to_secret_chat_ | True, if content of the message can be copied to a secret chat using inputMessageForwarded or forwardMessages with copy options. |
[in] | can_be_declined_ | True, if the message is a suggested post that can be declined by the user using declineSuggestedPost. |
[in] | can_be_deleted_only_for_self_ | True, if the message can be deleted only for the current user while other users will continue to see it using the method deleteMessages with revoke == false. |
[in] | can_be_deleted_for_all_users_ | True, if the message can be deleted for all users using the method deleteMessages with revoke == true. |
[in] | can_be_edited_ | True, if the message can be edited using the methods editMessageText, editMessageCaption, or editMessageReplyMarkup. For live location, poll, and checklist messages this fields shows whether editMessageLiveLocation, stopPoll, or editMessageChecklist respectively can be used with this message. |
[in] | can_be_forwarded_ | True, if the message can be forwarded using inputMessageForwarded or forwardMessages without copy options. |
[in] | can_be_paid_ | True, if the message can be paid using inputInvoiceMessage. |
[in] | can_be_pinned_ | True, if the message can be pinned or unpinned in the chat using pinChatMessage or unpinChatMessage. |
[in] | can_be_replied_ | True, if the message can be replied in the same chat and forum topic using inputMessageReplyToMessage. |
[in] | can_be_replied_in_another_chat_ | True, if the message can be replied in another chat or forum topic using inputMessageReplyToExternalMessage. |
[in] | can_be_saved_ | True, if content of the message can be saved locally. |
[in] | can_be_shared_in_story_ | True, if the message can be shared in a story using inputStoryAreaTypeMessage. |
[in] | can_edit_media_ | True, if the message can be edited using the method editMessageMedia. |
[in] | can_edit_scheduling_state_ | True, if scheduling state of the message can be edited. |
[in] | can_edit_suggested_post_info_ | True, if another price or post send time can be suggested using addOffer. |
[in] | can_get_author_ | True, if author of the message sent on behalf of a chat can be received through getMessageAuthor. |
[in] | can_get_embedding_code_ | True, if code for message embedding can be received using getMessageEmbeddingCode. |
[in] | can_get_link_ | True, if a link can be generated for the message using getMessageLink. |
[in] | can_get_media_timestamp_links_ | True, if media timestamp links can be generated for media timestamp entities in the message text, caption or link preview description using getMessageLink. |
[in] | can_get_message_thread_ | True, if information about the message thread is available through getMessageThread and getMessageThreadHistory. |
[in] | can_get_read_date_ | True, if read date of the message can be received through getMessageReadDate. |
[in] | can_get_statistics_ | True, if message statistics are available through getMessageStatistics and message forwards can be received using getMessagePublicForwards. |
[in] | can_get_video_advertisements_ | True, if advertisements for video of the message can be received though getVideoMessageAdvertisements. |
[in] | can_get_viewers_ | True, if chat members already viewed the message can be received through getMessageViewers. |
[in] | can_mark_tasks_as_done_ | True, if tasks can be marked as done or not done in the message's checklist using markChecklistTasksAsDone if the current user has Telegram Premium subscription. |
[in] | can_recognize_speech_ | True, if speech can be recognized for the message through recognizeSpeech. |
[in] | can_report_chat_ | True, if the message can be reported using reportChat. |
[in] | can_report_reactions_ | True, if reactions on the message can be reported through reportMessageReactions. |
[in] | can_report_supergroup_spam_ | True, if the message can be reported using reportSupergroupSpam. |
[in] | can_set_fact_check_ | True, if fact check for the message can be changed through setMessageFactCheck. |
[in] | need_show_statistics_ | True, if message statistics must be available from context menu of the message. |
|
finalvirtual |