UpdateChatParticipants.deserialize constructor

UpdateChatParticipants.deserialize(
  1. 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;
}