DirectMessagesChatTopic
Object Hierarchy:
Description:
public class DirectMessagesChatTopic :
Error
Contains information about a topic in a channel direct messages chat administered by the current user
Content:
Properties:
- public bool can_send_unpaid_messages { get; set construct; }
True, if the other party can send unpaid messages even if the chat has
paid messages enabled
- public int64 chat_id { get; set construct; }
Identifier of the chat to which the topic belongs
- public DraftMessage? draft_message { get; set construct; }
A draft of a message in the topic; may be null if none
- public int64 id_ { get; set construct; }
Unique topic identifier
- public bool is_marked_as_unread { get; set construct; }
True, if the forum topic is marked as unread
- public Message? last_message { get; set construct; }
Last message in the topic; may be null if none or unknown
- public int64 last_read_inbox_message_id { get; set construct; }
Identifier of the last read incoming message
- public int64 last_read_outbox_message_id { get; set construct; }
Identifier of the last read outgoing message
- public int64 order { get; set construct; }
A parameter used to determine order of the topic in the topic list.
Topics must be sorted by the order in descending order
- public MessageSender sender_id { get; set construct; }
Identifier of the user or chat that sends the messages to the topic
- public int64 unread_count { get; set construct; }
Number of unread messages in the chat
- public int64 unread_reaction_count { get; set construct; }
Number of messages with unread reactions in the chat
Creation methods:
- public DirectMessagesChatTopic (int64 chat_id, int64 id_, MessageSender sender_id, int64 order, bool can_send_unpaid_messages, bool is_marked_as_unread, int64 unread_count, int64 last_read_inbox_message_id, int64 last_read_outbox_message_id, int64 unread_reaction_count, Message? last_message, DraftMessage? draft_message)
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