MessagesDeleteFactCheck.deserialize constructor

MessagesDeleteFactCheck.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesDeleteFactCheck.deserialize(BinaryReader reader) {
  // Read [MessagesDeleteFactCheck] fields.
  final peer = reader.readObject() as InputPeerBase;
  final msgId = reader.readInt32();

  // Construct [MessagesDeleteFactCheck] object.
  final returnValue = MessagesDeleteFactCheck(peer: peer, msgId: msgId);

  // Now return the deserialized [MessagesDeleteFactCheck].
  return returnValue;
}