PrivacyValueDisallowChatParticipants.deserialize constructor

PrivacyValueDisallowChatParticipants.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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