$UGetMessagesMessageExtension extension

on

Properties

deletedMessageView DeletedMessageView
Returns this data as DeletedMessageView.
no setter
deletedMessageViewOrNull DeletedMessageView?
Returns DeletedMessageView if this data is DeletedMessageView, otherwise null.
no setter
isDeletedMessageView bool
Returns true if this data is DeletedMessageView, otherwise false.
no setter
isMessageView bool
Returns true if this data is MessageView, otherwise false.
no setter
isNotDeletedMessageView bool
Returns true if this data is not DeletedMessageView, otherwise false.
no setter
isNotMessageView bool
Returns true if this data is not MessageView, otherwise false.
no setter
isNotUnknown bool
Returns true if this data is not unknown object, otherwise false.
no setter
isUnknown bool
Returns true if this data is unknown object, otherwise false.
no setter
messageView MessageView
Returns this data as MessageView.
no setter
messageViewOrNull MessageView?
Returns MessageView if this data is MessageView, otherwise null.
no setter
unknown Map<String, dynamic>
Returns this data as JSON object.
no setter
unknownOrNull Map<String, dynamic>?
Returns JSON object if this data is unknown, otherwise null.
no setter

Methods

toJson() Map<String, dynamic>
Returns JSON representation.