UpdateChatParticipants.deserialize constructor
UpdateChatParticipants.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory UpdateChatParticipants.deserialize(BinaryReader reader) {
// Read [UpdateChatParticipants] fields.
final participants = reader.readObject() as ChatParticipantsBase;
// Construct [UpdateChatParticipants] object.
final returnValue = UpdateChatParticipants(participants: participants);
// Now return the deserialized [UpdateChatParticipants].
return returnValue;
}