InputBotInlineMessageID.deserialize constructor

InputBotInlineMessageID.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory InputBotInlineMessageID.deserialize(BinaryReader reader) {
  // Read [InputBotInlineMessageID] fields.
  final dcId = reader.readInt32();
  final id = reader.readInt64();
  final accessHash = reader.readInt64();

  // Construct [InputBotInlineMessageID] object.
  final returnValue = InputBotInlineMessageID(
    dcId: dcId,
    id: id,
    accessHash: accessHash,
  );

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