MessageEntityBotCommand045.deserialize constructor

MessageEntityBotCommand045.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

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

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