PrivacyValueAllowChatParticipants.deserialize constructor

PrivacyValueAllowChatParticipants.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory PrivacyValueAllowChatParticipants.deserialize(BinaryReader reader) {
  // Read [PrivacyValueAllowChatParticipants] fields.
  final chats = reader.readVectorInt64();

  // Construct [PrivacyValueAllowChatParticipants] object.
  final returnValue = PrivacyValueAllowChatParticipants(
    chats: chats,
  );

  // Now return the deserialized [PrivacyValueAllowChatParticipants].
  return returnValue;
}