EditMessageMedia class

Inheritance

Constructors

EditMessageMedia({int chatId, int messageId, dynamic replyMarkup, dynamic inputMessageContent})
Edits the content of a message with an animation, an audio, a document, a photo or a video. The media in the message can't be replaced if the message was set to self-destruct. Media can't be replaced by self-destructing media. Media in an album can be edited only to contain a photo or a video. Returns the edited message after the edit is completed on the server side. chatId The chat the message belongs to . messageId Identifier of the message . replyMarkup The new message reply markup; for bots only . inputMessageContent New content of the message. Must be one of the following types: InputMessageAnimation, InputMessageAudio, InputMessageDocument, InputMessagePhoto or InputMessageVideo
EditMessageMedia.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatId int
read / write
constructor String
read / write, inherited
extra ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
inputMessageContent ↔ dynamic
read / write
messageId int
read / write
replyMarkup ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"editMessageMedia"