KeyboardButtonSourceMessage class final
The button is from a bot's message
- Inheritance
-
- Object
- TdObject
- KeyboardButtonSource
- KeyboardButtonSourceMessage
- Available extensions
- Annotations
-
- @immutable
Constructors
- KeyboardButtonSourceMessage({required int chatId, required int messageId})
Properties
Methods
-
copyWith(
{int? chatId, int? messageId}) → KeyboardButtonSourceMessage -
Available on KeyboardButtonSourceMessage, provided by the KeyboardButtonSourceMessageExtensions extension
-
getConstructor(
) → String -
override
-
map<
TResult extends Object?> ({required TResult message(KeyboardButtonSourceMessage value), required TResult webApp(KeyboardButtonSourceWebApp value)}) → TResult -
Available on KeyboardButtonSource, provided by the KeyboardButtonSourceExtensions extension
-
maybeMap<
TResult extends Object?> ({TResult message(KeyboardButtonSourceMessage value)?, TResult webApp(KeyboardButtonSourceWebApp value)?, required TResult orElse()}) → TResult -
Available on KeyboardButtonSource, provided by the KeyboardButtonSourceExtensions 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
Static Methods
-
fromJson(
Map< String, dynamic> ? json) → KeyboardButtonSourceMessage? -
Inherited by:
KeyboardButtonSourceMessage
KeyboardButtonSourceWebApp
override
Constants
- constructor → const String