InputMessageContentConverter class

Converts inline message content to and from Telegram JSON.

Constructors

InputMessageContentConverter()
Creates the instance of the converter
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromJson(Map<String, Object?> json) → InputMessageContent
Decodes inline content based on the fields Telegram provides.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson(InputMessageContent data) → Map<String, Object>
Encodes inline content for the Bot API.
toString() → String
A string representation of this object.
inherited

Operators

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