InputBotAppShortName.deserialize constructor
InputBotAppShortName.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory InputBotAppShortName.deserialize(BinaryReader reader) {
// Read [InputBotAppShortName] fields.
final botId = reader.readObject() as InputUserBase;
final shortName = reader.readString();
// Construct [InputBotAppShortName] object.
final returnValue = InputBotAppShortName(
botId: botId,
shortName: shortName,
);
// Now return the deserialized [InputBotAppShortName].
return returnValue;
}