BotCallbackQueryModeAuto class

Callback queries are received in updateNewInlineCallbackQuery instead of updateNewCallbackQuery if the message with the button is inaccessible to the bot. Rarely, the message can still be inaccessible to the bot in updateNewCallbackQuery

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

BotCallbackQueryModeAuto()
const

Properties

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

Methods

getConstructor() → String
override
map<TResult extends Object?>({required TResult $default(BotCallbackQueryModeDefault value), required TResult auto(BotCallbackQueryModeAuto value), required TResult inline(BotCallbackQueryModeInline value)}) → TResult

Available on BotCallbackQueryMode, provided by the BotCallbackQueryModeExtensions extension

maybeMap<TResult extends Object?>({TResult $default(BotCallbackQueryModeDefault value)?, TResult auto(BotCallbackQueryModeAuto value)?, TResult inline(BotCallbackQueryModeInline value)?, required TResult orElse()}) → TResult

Available on BotCallbackQueryMode, provided by the BotCallbackQueryModeExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String