DecryptedMessageActionSetMessageTTL008.deserialize constructor

DecryptedMessageActionSetMessageTTL008.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory DecryptedMessageActionSetMessageTTL008.deserialize(
    BinaryReader reader) {
  // Read [DecryptedMessageActionSetMessageTTL008] fields.
  final ttlSeconds = reader.readInt32();

  // Construct [DecryptedMessageActionSetMessageTTL008] object.
  final returnValue = DecryptedMessageActionSetMessageTTL008(
    ttlSeconds: ttlSeconds,
  );

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