EditMessageWidgetData class
Edits data of a widget sent by the bot; for bots only Returns Ok
- Inheritance
-
- Object
- TdFunction
- EditMessageWidgetData
- Available extensions
- Annotations
-
- @immutable
Constructors
Properties
- chatData → String
-
chatData New data of the widget that is specific to the chat; ignored if
edit_chat_data is false
final
- chatId → int
-
chatId The chat the message belongs to
final
- editChatData → bool
-
editChatData Pass true to edit data of the widget that is specific to
the chat
final
- editPublicData → bool
-
editPublicData Pass true to edit public data of the widget
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- messageId → int
-
messageId Identifier of the widget message
final
- publicData → String
-
publicData New public data of the widget; ignored if edit_public_data is
false
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? chatId, int? messageId, bool? editPublicData, String? publicData, bool? editChatData, String? chatData}) → EditMessageWidgetData -
Available on EditMessageWidgetData, provided by the EditMessageWidgetDataExtensions extension
-
getConstructor(
) → String -
override
-
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