ShareChatWithBot
Object Hierarchy:
Description:
public class ShareChatWithBot :
TDObject
Shares a chat after pressing a keyboardButtonTypeRequestChat button with the bot
Content:
Properties:
- public int32 button_id { get; set construct; }
Identifier of the button
- public int64 chat_id { get; set construct; }
Identifier of the chat with the bot
- public int64 message_id { get; set construct; }
Identifier of the message with the button
- public bool only_check { get; set construct; }
Pass true to check that the chat can be shared by the button instead
of actually sharing it. Doesn't check bot_is_member and bot_administrator_rights restrictions. If the bot must be a member, then all
chats from Client.get_groups_in_common and all chats, where the
user can add the bot, are suitable. In the latter case the bot will be automatically added to the chat. If the bot must be an
administrator, then all chats, where the bot already has requested rights or can be added to administrators by the user, are suitable.
In the latter case the bot will be automatically granted requested rights
- public int64 shared_chat_id { get; set construct; }
Identifier of the shared chat
Creation methods:
- public ShareChatWithBot (int64 chat_id, int64 message_id, int32 button_id, int64 shared_chat_id, bool only_check)
Inherited Members:
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