MessagesGetBotApp.deserialize constructor

MessagesGetBotApp.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesGetBotApp.deserialize(BinaryReader reader) {
  // Read [MessagesGetBotApp] fields.
  final app = reader.readObject() as InputBotAppBase;
  final hash = reader.readInt64();

  // Construct [MessagesGetBotApp] object.
  final returnValue = MessagesGetBotApp(app: app, hash: hash);

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