MessageActionNewCreatorPending.deserialize constructor

MessageActionNewCreatorPending.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessageActionNewCreatorPending.deserialize(BinaryReader reader) {
  // Read [MessageActionNewCreatorPending] fields.
  final newCreatorId = reader.readInt64();

  // Construct [MessageActionNewCreatorPending] object.
  final returnValue = MessageActionNewCreatorPending(
    newCreatorId: newCreatorId,
  );

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