UpdateMessageID.deserialize constructor
UpdateMessageID.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory UpdateMessageID.deserialize(BinaryReader reader) {
// Read [UpdateMessageID] fields.
final id = reader.readInt32();
final randomId = reader.readInt64();
// Construct [UpdateMessageID] object.
final returnValue = UpdateMessageID(id: id, randomId: randomId);
// Now return the deserialized [UpdateMessageID].
return returnValue;
}