ChatPermissions
Object Hierarchy:
Description:
public class ChatPermissions :
Error
Describes actions that a user is allowed to take in a chat
Content:
Properties:
- public bool can_add_link_previews { get; set construct; }
True, if the user may add a link preview to their messages
- public bool can_change_info { get; set construct; }
True, if the user can change the chat title, photo, and other settings
- public bool can_create_topics { get; set construct; }
True, if the user can create topics
- public bool can_invite_users { get; set construct; }
True, if the user can invite new users to the chat
- public bool can_pin_messages { get; set construct; }
True, if the user can pin messages
- public bool can_send_audios { get; set construct; }
True, if the user can send music files
- public bool can_send_basic_messages { get; set construct; }
True, if the user can send text messages, contacts, giveaways,
giveaway winners, invoices, locations, and venues
- public bool can_send_documents { get; set construct; }
True, if the user can send documents
- public bool can_send_other_messages { get; set construct; }
True, if the user can send animations, games, stickers, and dice and
use inline bots
- public bool can_send_photos { get; set construct; }
True, if the user can send photos
- public bool can_send_polls { get; set construct; }
True, if the user can send polls
- public bool can_send_video_notes { get; set construct; }
True, if the user can send video notes
- public bool can_send_videos { get; set construct; }
True, if the user can send videos
- public bool can_send_voice_notes { get; set construct; }
True, if the user can send voice notes
Creation methods:
- public ChatPermissions (bool can_send_basic_messages, bool can_send_audios, bool can_send_documents, bool can_send_photos, bool can_send_videos, bool can_send_video_notes, bool can_send_voice_notes, bool can_send_polls, bool can_send_other_messages, bool can_add_link_previews, bool can_change_info, bool can_invite_users, bool can_pin_messages, bool can_create_topics)
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