MessageReplyInfo class final
Contains information about replies to a message
Constructors
-
MessageReplyInfo({required int replyCount, required List<
MessageSender> recentReplierIds, required int lastReadInboxMessageId, required int lastReadOutboxMessageId, required int lastMessageId}) -
Contains information about replies to a message
const
-
MessageReplyInfo.fromJson(Map<
String, dynamic> json) -
Parses a MessageReplyInfo from TDLib JSON.
factory
Properties
- clientId → int?
-
Identifier of the TDLib client that sent this object, when known.
no setterinherited
- extra → dynamic
-
"@extra" of the request this object answers; null for updates.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastMessageId → int
-
Identifier of the last reply to the message
final
- lastReadInboxMessageId → int
-
Identifier of the last read incoming reply to the message
final
- lastReadOutboxMessageId → int
-
Identifier of the last read outgoing reply to the message
final
-
recentReplierIds
→ List<
MessageSender> -
Identifiers of at most 3 recent repliers to the message; available in channels with a discussion supergroup. The users and chats are expected to be inaccessible: only their photo and name will be available
final
- replyCount → int
-
Number of times the message was directly or indirectly replied
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? replyCount, List< MessageSender> ? recentReplierIds, int? lastReadInboxMessageId, int? lastReadOutboxMessageId, int? lastMessageId}) → MessageReplyInfo -
Returns a copy with the given fields replaced. For a nullable
field pass a function, e.g.
field: () => nullto clear it. -
getConstructor(
) → String -
TDLib type name, e.g.
updateNewMessage.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this object to TDLib JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String
- TDLib type name.