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