MessageOriginChat class

This object represents a message that was originally sent on behalf of a chat to a group chat.

Implemented types

Constructors

MessageOriginChat({required int date, required Chat senderChat, String? authorSignature})
Constructor
const
MessageOriginChat.fromJson(Map<String, dynamic> json)
Constructor from JSON data
factory

Properties

authorSignature String?
For messages originally sent by an anonymous chat administrator, original message author signature
final
date int
Date the message was sent originally in Unix time
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderChat Chat
Chat that sent the message originally
final
type MessageOriginType
Type of the message origin, always “chat”
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts to JSON encodable Map
override
toString() String
A string representation of this object.
inherited

Operators

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