AttachmentMenuBot
Object Hierarchy:
Description:
public class AttachmentMenuBot :
Error
Represents a bot, which can be added to attachment or side menu
Content:
Properties:
- public File? android_icon { get; set construct; }
Icon for the bot in TGS format for the official Android app; may be
null
- public File? android_side_menu_icon { get; set construct; }
Icon for the bot in SVG format for the official Android app side menu;
may be null
- public int64 bot_user_id { get; set construct; }
User identifier of the bot
- public File? default_icon { get; set construct; }
Default icon for the bot in SVG format; may be null
- public AttachmentMenuBotColor? icon_color { get; set construct; }
Color to highlight selected icon of the bot if appropriate; may be
null
- public File? ios_animated_icon { get; set construct; }
Icon for the bot in TGS format for the official iOS app; may be null
- public File? ios_side_menu_icon { get; set construct; }
Icon for the bot in PNG format for the official iOS app side menu; may
be null
- public File? ios_static_icon { get; set construct; }
Icon for the bot in SVG format for the official iOS app; may be null
- public bool is_added { get; set construct; }
- public File? macos_icon { get; set construct; }
Icon for the bot in TGS format for the official native macOS app; may
be null
- public File? macos_side_menu_icon { get; set construct; }
Icon for the bot in PNG format for the official macOS app side menu;
may be null
- public string name { get; set construct; }
Name for the bot in attachment menu
- public AttachmentMenuBotColor? name_color { get; set construct; }
Color to highlight selected name of the bot if appropriate; may be
null
- public bool request_write_access { get; set construct; }
True, if the user must be asked for the permission to send messages to
the bot
- public bool show_disclaimer_in_side_menu { get; set construct; }
True, if a disclaimer, why the bot is shown in the side menu, is
needed
- public bool show_in_attachment_menu { get; set construct; }
True, if the bot must be shown in the attachment menu
- public bool show_in_side_menu { get; set construct; }
True, if the bot must be shown in the side menu
- public bool supports_bot_chats { get; set construct; }
True, if the bot supports opening from attachment menu in private
chats with other bots
- public bool supports_channel_chats { get; set construct; }
True, if the bot supports opening from attachment menu in channel
chats
- public bool supports_group_chats { get; set construct; }
True, if the bot supports opening from attachment menu in basic group
and supergroup chats
- public bool supports_self_chat { get; set construct; }
True, if the bot supports opening from attachment menu in the chat
with the bot
- public bool supports_user_chats { get; set construct; }
True, if the bot supports opening from attachment menu in private
chats with ordinary users
- public File? web_app_placeholder { get; set construct; }
Default placeholder for opened Web Apps in SVG format; may be null
Creation methods:
- public AttachmentMenuBot (int64 bot_user_id, bool supports_self_chat, bool supports_user_chats, bool supports_bot_chats, bool supports_group_chats, bool supports_channel_chats, bool request_write_access, bool is_added, bool show_in_attachment_menu, bool show_in_side_menu, bool show_disclaimer_in_side_menu, string name, AttachmentMenuBotColor? name_color, File? default_icon, File? ios_static_icon, File? ios_animated_icon, File? ios_side_menu_icon, File? android_icon, File? android_side_menu_icon, File? macos_icon, File? macos_side_menu_icon, AttachmentMenuBotColor? icon_color, File? web_app_placeholder)
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