MessageProperties
Object Hierarchy:
Description:
public class MessageProperties :
Error
Contains properties of a message and describes actions that can be done with the message right now
Content:
Properties:
- public bool can_be_copied_to_secret_chat { get; set construct; }
True, if content of the message can be copied to a secret chat using
inputMessageForwarded or Client.forward_messages with copy options
- public bool can_be_deleted_for_all_users { get; set construct; }
- public bool can_be_deleted_only_for_self { get; set construct; }
True, if the message can be deleted only for the current user while
other users will continue to see it using the method Client.delete_messages
with revoke == false
- public bool can_be_edited { get; set construct; }
- public bool can_be_forwarded { get; set construct; }
- public bool can_be_paid { get; set construct; }
True, if the message can be paid using inputInvoiceMessage
- public bool can_be_pinned { get; set construct; }
- public bool can_be_replied { get; set construct; }
True, if the message can be replied in the same chat and forum topic
using inputMessageReplyToMessage
- public bool can_be_replied_in_another_chat { get; set construct; }
True, if the message can be replied in another chat or forum topic
using inputMessageReplyToExternalMessage
- public bool can_be_saved { get; set construct; }
True, if content of the message can be saved locally or copied using
inputMessageForwarded or Client.forward_messages with copy options
- public bool can_be_shared_in_story { get; set construct; }
True, if the message can be shared in a story using
inputStoryAreaTypeMessage
- public bool can_edit_media { get; set construct; }
- public bool can_edit_scheduling_state { get; set construct; }
True, if scheduling state of the message can be edited
- public bool can_get_embedding_code { get; set construct; }
- public bool can_get_link { get; set construct; }
- public bool can_get_media_timestamp_links { get; set construct; }
True, if media timestamp links can be generated for media timestamp
entities in the message text, caption or link preview description using
Client.get_message_link
- public bool can_get_message_thread { get; set construct; }
- public bool can_get_read_date { get; set construct; }
- public bool can_get_statistics { get; set construct; }
- public bool can_get_viewers { get; set construct; }
- public bool can_recognize_speech { get; set construct; }
- public bool can_report_chat { get; set construct; }
- public bool can_report_reactions { get; set construct; }
- public bool can_report_supergroup_spam { get; set construct; }
- public bool can_set_fact_check { get; set construct; }
- public bool need_show_statistics { get; set construct; }
True, if message statistics must be available from context menu of the
message
Creation methods:
- public 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_media, 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)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref