MessageLinkInfo class

Contains information about a link to a message or a forum topic in a chat

Inheritance

Constructors

MessageLinkInfo({String? extra, int? client_id, Bool? is_public, int53? chat_id, int53? message_thread_id, Message? message, int32? media_timestamp, Bool? for_album})
MessageLinkInfo.fromMap(Map<String, dynamic> map)

Properties

chat_id int53?
If found, identifier of the chat to which the link points, 0 otherwise
getter/setter pair
client_id int?
TDLib client id; maps to the field @client_id.
getter/setter pairinherited
extra String?
Matches requests with responses; maps to the field @extra.
getter/setter pairinherited
for_album Bool?
True, if the whole media album to which the message belongs is linked
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
is_public Bool?
True, if the link is a public link for a message or a forum topic in a chat
getter/setter pair
media_timestamp int32?
Timestamp from which the video/audio/video note/voice note playing must start, in seconds; 0 if not specified. The media can be in the message content or in its web page preview
getter/setter pair
message Message?
If found, the linked message; may be null
getter/setter pair
message_thread_id int53?
If found, identifier of the message thread in which to open the message, or a forum topic to open if the message is missing
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tdType String
JSON object type; maps to the field @type.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson({dynamic skipNulls = true}) String
Serialize a Td instance to a JSON string. If skipNulls is true the fields with null values are not serialized.
inherited
toMap({dynamic skipNulls = true}) Map<String, dynamic>
Create a Map from a Td instance.
override
toString({dynamic skipNulls = false}) String
A string representation of this object.
inherited

Operators

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