InputPrivacyValueAllowChatParticipants.deserialize constructor

InputPrivacyValueAllowChatParticipants.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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