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