InlineKeyboardButtonType class abstract

Describes the type of inline keyboard button

Inheritance
Implementers
Available extensions
Annotations
  • @immutable

Constructors

InlineKeyboardButtonType()
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 url(InlineKeyboardButtonTypeUrl value), required TResult loginUrl(InlineKeyboardButtonTypeLoginUrl value), required TResult webApp(InlineKeyboardButtonTypeWebApp value), required TResult callback(InlineKeyboardButtonTypeCallback value), required TResult callbackWithPassword(InlineKeyboardButtonTypeCallbackWithPassword value), required TResult callbackGame(InlineKeyboardButtonTypeCallbackGame value), required TResult switchInline(InlineKeyboardButtonTypeSwitchInline value), required TResult buy(InlineKeyboardButtonTypeBuy value), required TResult user(InlineKeyboardButtonTypeUser value), required TResult copyText(InlineKeyboardButtonTypeCopyText value), required TResult disabled(InlineKeyboardButtonTypeDisabled value)}) → TResult

Available on InlineKeyboardButtonType, provided by the InlineKeyboardButtonTypeExtensions extension

maybeMap<TResult extends Object?>({TResult url(InlineKeyboardButtonTypeUrl value)?, TResult loginUrl(InlineKeyboardButtonTypeLoginUrl value)?, TResult webApp(InlineKeyboardButtonTypeWebApp value)?, TResult callback(InlineKeyboardButtonTypeCallback value)?, TResult callbackWithPassword(InlineKeyboardButtonTypeCallbackWithPassword value)?, TResult callbackGame(InlineKeyboardButtonTypeCallbackGame value)?, TResult switchInline(InlineKeyboardButtonTypeSwitchInline value)?, TResult buy(InlineKeyboardButtonTypeBuy value)?, TResult user(InlineKeyboardButtonTypeUser value)?, TResult copyText(InlineKeyboardButtonTypeCopyText value)?, TResult disabled(InlineKeyboardButtonTypeDisabled value)?, required TResult orElse()}) → TResult

Available on InlineKeyboardButtonType, provided by the InlineKeyboardButtonTypeExtensions extension

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

Operators

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

Constants

constructor → const String