EditMessageMedia class

Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption. If only the caption needs to be edited, use editMessageCaption instead..

Returns Message.

Inheritance
Available Extensions

Constructors

EditMessageMedia({required int chat_id, required int message_id, ReplyMarkup? reply_markup, required InputMessageContent input_message_content, int? extra, int? clientId})
Edits the content of a message with an animation, an audio, a document, a photo or a video, including message caption. If only the caption needs to be edited, use editMessageCaption instead.

Properties

chat_id int
The chat the message belongs to.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
input_message_content InputMessageContent
New content of the message. Must be one of the following types: inputMessageAnimation, inputMessageAudio, inputMessageDocument, inputMessagePhoto or inputMessageVideo.
read / write
message_id int
Identifier of the message.
read / write
reply_markup ReplyMarkup?
The new message reply markup; pass null if none; for bots only.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

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

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) EditMessageMedia?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"editMessageMedia"