GetMessageLink class
Returns an HTTPS link to a message in a chat. Available only for already sent messages in supergroups and channels, or if message.can_get_media_timestamp_links and a media timestamp link is generated. This is an offline request.
Returns MessageLink.
- Inheritance
- Available Extensions
Constructors
- GetMessageLink({required int chat_id, required int message_id, required int media_timestamp, required bool for_album, required bool in_message_thread, int? extra, int? clientId})
- Returns an HTTPS link to a message in a chat. Available only for already sent messages in supergroups and channels, or if message.can_get_media_timestamp_links and a media timestamp link is generated. This is an offline request
Properties
- chat_id ↔ int
-
Identifier of the chat to which the message belongs.
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
- for_album ↔ bool
-
Pass true to create a link for the whole media album.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- in_message_thread ↔ bool
-
Pass true to create a link to the message as a channel post comment, in a message thread, or a forum topic.
read / write
- media_timestamp ↔ int
-
If not 0, timestamp from which the video/audio/video note/voice note playing must start, in seconds. The media can be in the message content or in its web page preview.
read / write
- message_id ↔ int
-
Identifier of the message.
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) → GetMessageLink? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"getMessageLink"