UserTypeBot
Object Hierarchy:
Description:
public class UserTypeBot :
UserType
Content:
Properties:
- public int32 active_user_count { get; set construct; }
The number of recently active users of the bot
- public bool can_be_added_to_attachment_menu { get; set construct; }
True, if the bot can be added to attachment or side menu
- public bool can_be_edited { get; set construct; }
- public bool can_connect_to_business { get; set construct; }
True, if the bot supports connection to Telegram Business accounts
- public bool can_join_groups { get; set construct; }
True, if the bot can be invited to basic group and supergroup chats
- public bool can_read_all_group_messages { get; set construct; }
True, if the bot can read all messages in basic group or supergroup
chats and not just those addressed to the bot. In private and channel chats a bot can always read all messages
- public bool has_main_web_app { get; set construct; }
True, if the bot has the main Web App
- public string inline_query_placeholder { get; set construct; }
Placeholder for inline queries (displayed on the application input
field)
- public bool is_inline { get; set construct; }
True, if the bot supports inline queries
- public bool need_location { get; set construct; }
True, if the location of the user is expected to be sent with every
inline query to this bot
Creation methods:
- public UserTypeBot (bool can_be_edited, bool can_join_groups, bool can_read_all_group_messages, bool has_main_web_app, bool is_inline, string inline_query_placeholder, bool need_location, bool can_connect_to_business, bool can_be_added_to_attachment_menu, int32 active_user_count)
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