UpdateBotDeleteBusinessMessage.deserialize constructor
UpdateBotDeleteBusinessMessage.deserialize(
- BinaryReader reader
Deserialize.
Implementation
factory UpdateBotDeleteBusinessMessage.deserialize(BinaryReader reader) {
// Read [UpdateBotDeleteBusinessMessage] fields.
final connectionId = reader.readString();
final peer = reader.readObject() as PeerBase;
final messages = reader.readVectorInt32();
final qts = reader.readInt32();
// Construct [UpdateBotDeleteBusinessMessage] object.
final returnValue = UpdateBotDeleteBusinessMessage(
connectionId: connectionId,
peer: peer,
messages: messages.items,
qts: qts,
);
// Now return the deserialized [UpdateBotDeleteBusinessMessage].
return returnValue;
}