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