PrivacyValueDisallowChatParticipants.deserialize constructor
PrivacyValueDisallowChatParticipants.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory PrivacyValueDisallowChatParticipants.deserialize(
BinaryReader reader,
) {
// Read [PrivacyValueDisallowChatParticipants] fields.
final chats = reader.readVectorInt64();
// Construct [PrivacyValueDisallowChatParticipants] object.
final returnValue = PrivacyValueDisallowChatParticipants(
chats: chats.items,
);
// Now return the deserialized [PrivacyValueDisallowChatParticipants].
return returnValue;
}