MessagesEditFactCheck.deserialize constructor
MessagesEditFactCheck.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory MessagesEditFactCheck.deserialize(BinaryReader reader) {
// Read [MessagesEditFactCheck] fields.
final peer = reader.readObject() as InputPeerBase;
final msgId = reader.readInt32();
final text = reader.readObject() as TextWithEntitiesBase;
// Construct [MessagesEditFactCheck] object.
final returnValue = MessagesEditFactCheck(
peer: peer,
msgId: msgId,
text: text,
);
// Now return the deserialized [MessagesEditFactCheck].
return returnValue;
}