InputPrivacyValueDisallowChatParticipants.deserialize constructor

InputPrivacyValueDisallowChatParticipants.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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