EditInlineMessageWidgetData class

Edits data of a widget in an inline message sent via the bot; for bots only Returns Ok

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

EditInlineMessageWidgetData({required String inlineMessageId, required bool editPublicData, required String publicData, required bool editChatData, required String chatData})
const

Properties

chatData → String
chatData New data of the widget that is specific to the chat; ignored if edit_chat_data is false
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
inlineMessageId → String
inlineMessageId Inline message identifier
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({String? inlineMessageId, bool? editPublicData, String? publicData, bool? editChatData, String? chatData}) → EditInlineMessageWidgetData

Available on EditInlineMessageWidgetData, provided by the EditInlineMessageWidgetDataExtensions 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