Inherits Object.
Contains properties of a message and describes actions that can be done with the message right now.
Public Fields | |
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_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, editMessageMedia, editMessageCaption, or editMessageReplyMarkup. For live location and poll messages this fields shows whether editMessageLiveLocation or stopPoll can be used with this message. | |
bool | can_be_forwarded_ |
True, if the message can be forwarded using inputMessageForwarded or forwardMessages. | |
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 or copied using inputMessageForwarded or forwardMessages with copy options. | |
bool | can_be_shared_in_story_ |
True, if the message can be shared in a story using inputStoryAreaTypeMessage. | |
bool | can_edit_scheduling_state_ |
True, if scheduling state of the message can be edited. | |
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_viewers_ |
True, if chat members already viewed the message can be received through getMessageViewers. | |
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 = 827750316 |
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_be_copied_to_secret_chat_, |
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_scheduling_state_, | ||
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_viewers_, | ||
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_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_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, editMessageMedia, editMessageCaption, or editMessageReplyMarkup. For live location and poll messages this fields shows whether editMessageLiveLocation or stopPoll can be used with this message. |
[in] | can_be_forwarded_ | True, if the message can be forwarded using inputMessageForwarded or forwardMessages. |
[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 or copied using inputMessageForwarded or forwardMessages with copy options. |
[in] | can_be_shared_in_story_ | True, if the message can be shared in a story using inputStoryAreaTypeMessage. |
[in] | can_edit_scheduling_state_ | True, if scheduling state of the message can be edited. |
[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_viewers_ | True, if chat members already viewed the message can be received through getMessageViewers. |
[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 |