MessagesChatInviteJoinResultOk.deserialize constructor

MessagesChatInviteJoinResultOk.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesChatInviteJoinResultOk.deserialize(BinaryReader reader) {
  // Read [MessagesChatInviteJoinResultOk] fields.
  final updates = reader.readObject() as UpdatesBase;

  // Construct [MessagesChatInviteJoinResultOk] object.
  final returnValue = MessagesChatInviteJoinResultOk(updates: updates);

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