BusinessBotRights
Object Hierarchy:
Description:
public class BusinessBotRights :
Error
Describes rights of a business bot
Content:
Properties:
- public bool can_change_gift_settings { get; set construct; }
True, if the bot can change gift receiving settings of the business
account
- public bool can_delete_all_messages { get; set construct; }
True, if the bot can delete any message
- public bool can_delete_sent_messages { get; set construct; }
True, if the bot can delete sent messages
- public bool can_edit_bio { get; set construct; }
True, if the bot can edit bio of the business account
- public bool can_edit_name { get; set construct; }
True, if the bot can edit name of the business account
- public bool can_edit_profile_photo { get; set construct; }
True, if the bot can edit profile photo of the business account
- public bool can_edit_username { get; set construct; }
True, if the bot can edit username of the business account
- public bool can_manage_stories { get; set construct; }
True, if the bot can post, edit and delete stories
- public bool can_read_messages { get; set construct; }
True, if the bot can mark incoming private messages as read
- public bool can_reply { get; set construct; }
True, if the bot can send and edit messages in the private chats that
had incoming messages in the last 24 hours
- public bool can_sell_gifts { get; set construct; }
True, if the bot can sell regular gifts received by the business
account
- public bool can_transfer_and_upgrade_gifts { get; set construct; }
True, if the bot can transfer and upgrade gifts received by the
business account
- public bool can_transfer_stars { get; set construct; }
True, if the bot can transfer Telegram Stars received by the business
account to account of the bot, or use them to upgrade and transfer gifts
- public bool can_view_gifts_and_stars { get; set construct; }
True, if the bot can view gifts and amount of Telegram Stars owned by
the business account
Creation methods:
- public BusinessBotRights (bool can_reply, bool can_read_messages, bool can_delete_sent_messages, bool can_delete_all_messages, bool can_edit_name, bool can_edit_bio, bool can_edit_profile_photo, bool can_edit_username, bool can_view_gifts_and_stars, bool can_sell_gifts, bool can_change_gift_settings, bool can_transfer_and_upgrade_gifts, bool can_transfer_stars, bool can_manage_stories)
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