ChatInvitePeek.deserialize constructor
ChatInvitePeek.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory ChatInvitePeek.deserialize(BinaryReader reader) {
// Read [ChatInvitePeek] fields.
final chat = reader.readObject() as ChatBase;
final expires = reader.readDateTime();
// Construct [ChatInvitePeek] object.
final returnValue = ChatInvitePeek(
chat: chat,
expires: expires,
);
// Now return the deserialized [ChatInvitePeek].
return returnValue;
}