ClientBots class

Bots.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

allowSendMessage({required InputUserBase bot}) Future<Result<UpdatesBase>>
Allow Send Message.
answerWebhookJSONQuery({required int queryId, required DataJSONBase data}) Future<Result<Boolean>>
Answer Webhook J S O N Query.
canSendMessage({required InputUserBase bot}) Future<Result<Boolean>>
Can Send Message.
getBotCommands({required BotCommandScopeBase scope, required String langCode}) Future<Result<Vector<BotCommandBase>>>
Get Bot Commands.
getBotInfo({InputUserBase? bot, required String langCode}) Future<Result<BotsBotInfoBase>>
Get Bot Info.
getBotMenuButton({required InputUserBase userId}) Future<Result<BotMenuButtonBase>>
Get Bot Menu Button.
invokeWebViewCustomMethod({required InputUserBase bot, required String customMethod, required DataJSONBase params}) Future<Result<DataJSONBase>>
Invoke Web View Custom Method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reorderUsernames({required InputUserBase bot, required List<String> order}) Future<Result<Boolean>>
Reorder Usernames.
resetBotCommands({required BotCommandScopeBase scope, required String langCode}) Future<Result<Boolean>>
Reset Bot Commands.
sendCustomRequest({required String customMethod, required DataJSONBase params}) Future<Result<DataJSONBase>>
Send Custom Request.
setBotBroadcastDefaultAdminRights({required ChatAdminRightsBase adminRights}) Future<Result<Boolean>>
Set Bot Broadcast Default Admin Rights.
setBotCommands({required BotCommandScopeBase scope, required String langCode, required List<BotCommandBase> commands}) Future<Result<Boolean>>
Set Bot Commands.
setBotGroupDefaultAdminRights({required ChatAdminRightsBase adminRights}) Future<Result<Boolean>>
Set Bot Group Default Admin Rights.
setBotInfo({InputUserBase? bot, required String langCode, String? name, String? about, String? description}) Future<Result<Boolean>>
Set Bot Info.
setBotMenuButton({required InputUserBase userId, required BotMenuButtonBase button}) Future<Result<Boolean>>
Set Bot Menu Button.
toggleUsername({required InputUserBase bot, required String username, required bool active}) Future<Result<Boolean>>
Toggle Username.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited