![robotc commands list robotc commands list](https://i.ebayimg.com/images/g/wMAAAOSwVEVgA-9e/s-l400.jpg)
Setting commands botCommand#c27ac8c7 command: string description: string = BotCommand īots.setBotCommands#517165a scope: BotCommandScope lang_code: string commands: Vector = Bool
#Robotc commands list full#
If the command list of a bot changes, the bot_info_version contained in the user constructor received in updates will change this indicates that the client should refetch full bot information using users.getFullUser.
![robotc commands list robotc commands list](https://image.slidesharecdn.com/introtorobotc1-130320232643-phpapp02/95/intro-to-robotc-10-638.jpg)
In graphical clients, when users begin a message with a /, a list of commands supported by all bots present in the current chat should be shown the same should be done for one-to-one chats with the bot itself. The botInfo constructors contained in the userFull, chatFull, channelFull contain a list of commands, and for groups, the ID and a description of each bot.
![robotc commands list robotc commands list](https://hackster.imgix.net/uploads/attachments/340367/screen_shot_2017-08-18_at_15_30_01_Mca39ZUEQv.png)
User#3ff6ecb0 flags: # self:flags.10? true contact:flags.11? true mutual_contact:flags.12? true deleted:flags.13? true bot:flags.14? true bot_chat_history:flags.15? true bot_nochats:flags.16? true verified:flags.17? true restricted:flags.18? true min:flags.20? true bot_inline_geo:flags.21? true support:flags.23? true scam:flags.24? true apply_min_photo:flags.25? true fake:flags.26? true id: long access_hash:flags.0? long first_name:flags.1? string last_name:flags.2? string username:flags.3? string phone:flags.4? string photo:flags.5? UserProfilePhoto status:flags.6? UserStatus bot_info_version:flags.14? int restriction_reason:flags.18? Vector bot_inline_placeholder:flags.19? string lang_code:flags.22? string = User UserFull#d697ff05 flags: # blocked:flags.0? true phone_calls_available:flags.4? true phone_calls_private:flags.5? true can_pin_message:flags.7? true has_scheduled:flags.12? true video_calls_available:flags.13? true user: User about:flags.1? string settings: PeerSettings profile_photo:flags.2? Photo notify_settings: PeerNotifySettings bot_info:flags.3? BotInfo pinned_msg_id:flags.6? int common_chats_count: int folder_id:flags.11? int ttl_period:flags.14? int theme_emoticon:flags.15? string = UserFull Getting commands botCommand#c27ac8c7 command: string description: string = BotCommand īotInfo#1b74b335 user_id: long description: string commands: Vector = BotInfo ĬhannelFull#e9b27a17 flags: # can_view_participants:flags.3? true can_set_username:flags.6? true can_set_stickers:flags.7? true hidden_prehistory:flags.10? true can_set_location:flags.16? true has_scheduled:flags.19? true can_view_stats:flags.20? true blocked:flags.22? true id: long about: string participants_count:flags.0? int admins_count:flags.1? int kicked_count:flags.2? int banned_count:flags.2? int online_count:flags.13? int read_inbox_max_id: int read_outbox_max_id: int unread_count: int chat_photo: Photo notify_settings: PeerNotifySettings exported_invite:flags.23? ExportedChatInvite bot_info: Vector migrated_from_chat_id:flags.4? long migrated_from_max_id:flags.4? int pinned_msg_id:flags.5? int stickerset:flags.8? StickerSet available_min_id:flags.9? int folder_id:flags.11? int linked_chat_id:flags.14? long location:flags.15? ChannelLocation slowmode_seconds:flags.17? int slowmode_next_send_date:flags.18? int stats_dc:flags.12? int pts: int call:flags.21? InputGroupCall ttl_period:flags.24? int pending_suggestions:flags.25? Vector groupcall_default_join_as:flags.26? Peer theme_emoticon:flags.27? string = ChatFull
![robotc commands list robotc commands list](https://docplayer.net/docs-images/40/6137192/images/page_7.jpg)
Bots offer a set of commands that can be used by users in private, or in a chat.įor a simplified description using the HTTP bot API, see here ».