GroupCallMessage class final

Represents a message sent in a group call

Inheritance

Constructors

GroupCallMessage({required int messageId, required MessageSender senderId, required int date, required FormattedText text, required int paidMessageStarCount, required bool isFromOwner, required bool canBeDeleted})
Represents a message sent in a group call
const
GroupCallMessage.fromJson(Map<String, dynamic> json)
Parses a GroupCallMessage from TDLib JSON.
factory

Properties

canBeDeleted → bool
True, if the message can be deleted by the current user; for live stories only
final
clientId → int?
Identifier of the TDLib client that sent this object, when known.
no setterinherited
date → int
Point in time (Unix timestamp) when the message was sent
final
extra → dynamic
"@extra" of the request this object answers; null for updates.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isFromOwner → bool
True, if the message is sent by the owner of the call and must be treated as a message of the maximum level; for live stories only
final
messageId → int
Unique message identifier within the group call
final
paidMessageStarCount → int
The number of Telegram Stars that were paid to send the message; for live stories only
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
senderId → MessageSender
Identifier of the sender of the message
final
text → FormattedText
Text of the message. If empty, then the message is a paid reaction in a live story
final

Methods

copyWith({int? messageId, MessageSender? senderId, int? date, FormattedText? text, int? paidMessageStarCount, bool? isFromOwner, bool? canBeDeleted}) → GroupCallMessage
Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to 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.