GetMessageStatistics class final

GetMessageStatistics (getMessageStatistics) - TDLib function

Returns detailed statistics about a message. Can be used only if messageProperties.can_get_statistics == true.

  • chatId: Chat identifier.
  • messageId: Message identifier.
  • isDark: Pass true if a dark theme is used by the application.

MessageStatistics is returned on completion.

Inheritance

Constructors

GetMessageStatistics({required int chatId, required int messageId, required bool isDark})
GetMessageStatistics (getMessageStatistics) - TDLib function
const

Properties

chatId → int
Chat identifier
final
currentObjectId → String
TDLib object type for current class instance
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
isDark → bool
Pass true if a dark theme is used by the application
final
messageId → int
Message identifier
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? chatId, int? messageId, bool? isDark}) → GetMessageStatistics
Copy model with modified properties.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson([dynamic extra]) → Map<String, dynamic>
Convert model to TDLib JSON format
override
toString() → String
Convert model to TDLib JSON format, encoded into String.
override

Operators

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

Constants

defaultObjectId → const String
TDLib object type