KeyboardButtonTypeRequestChat
Object Hierarchy:
Description:
public class KeyboardButtonTypeRequestChat :
KeyboardButtonType
A button that requests a chat to be shared by the current user; available only in private chats. Use the method
Client.share_chat_with_bot to complete the request
Content:
Properties:
- public ChatAdministratorRights? bot_administrator_rights { get; set construct; }
Expected bot administrator rights in the chat; may be null if they
aren't restricted
- public bool bot_is_member { get; set construct; }
True, if the bot must be a member of the chat; for basic group and
supergroup chats only
- public bool chat_has_username { get; set construct; }
True, if the chat must have a username; otherwise, the chat must not
have a username. Ignored if restrict_chat_has_username is false
- public bool chat_is_channel { get; set construct; }
True, if the chat must be a channel; otherwise, a basic group or a
supergroup chat is shared
- public bool chat_is_created { get; set construct; }
True, if the chat must be created by the current user
- public bool chat_is_forum { get; set construct; }
True, if the chat must be a forum supergroup; otherwise, the chat must
not be a forum supergroup. Ignored if restrict_chat_is_forum is false
- public int32 id_ { get; set construct; }
Unique button identifier
- public bool request_photo { get; set construct; }
Pass true to request photo of the chat; bots only
- public bool request_title { get; set construct; }
Pass true to request title of the chat; bots only
- public bool request_username { get; set construct; }
Pass true to request username of the chat; bots only
- public bool restrict_chat_has_username { get; set construct; }
True, if the chat must or must not have a username
- public bool restrict_chat_is_forum { get; set construct; }
True, if the chat must or must not be a forum supergroup
- public ChatAdministratorRights? user_administrator_rights { get; set construct; }
Expected user administrator rights in the chat; may be null if they
aren't restricted
Creation methods:
- public KeyboardButtonTypeRequestChat (int32 id_, bool chat_is_channel, bool restrict_chat_is_forum, bool chat_is_forum, bool restrict_chat_has_username, bool chat_has_username, bool chat_is_created, ChatAdministratorRights? user_administrator_rights, ChatAdministratorRights? bot_administrator_rights, bool bot_is_member, bool request_title, bool request_username, bool request_photo)
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