ChatParticipantCreator.deserialize constructor

ChatParticipantCreator.deserialize(
  1. 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;
}