GetMessageThreadHistory class

Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup..

Returns Messages.

Inheritance
Available Extensions

Constructors

GetMessageThreadHistory({required int chat_id, required int message_id, required int from_message_id, required int offset, required int limit, int? extra, int? clientId})
Returns messages in a message thread of a message. Can be used only if message.can_get_message_thread == true. Message thread of a channel message is in the channel's linked supergroup.

Properties

chat_id int
Chat identifier.
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
from_message_id int
Identifier of the message starting from which history must be fetched; use 0 to get results from the last message.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
limit int
The maximum number of messages to be returned; must be positive and can't be greater than 100. If the offset is negative, the limit must be greater than or equal to -offset..
read / write
message_id int
Message identifier, which thread history needs to be returned.
read / write
offset int
Specify 0 to get results from exactly the from_message_id or a negative offset up to 99 to get additionally some newer messages.
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) GetMessageThreadHistory?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getMessageThreadHistory"