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