MessageEntityBlockquote101.deserialize constructor

MessageEntityBlockquote101.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessageEntityBlockquote101.deserialize(BinaryReader reader) {
  // Read [MessageEntityBlockquote101] fields.
  final offset = reader.readInt32();
  final length = reader.readInt32();

  // Construct [MessageEntityBlockquote101] object.
  final returnValue = MessageEntityBlockquote101(
    offset: offset,
    length: length,
  );

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