MessagesGetAttachedStickers.deserialize constructor

MessagesGetAttachedStickers.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

factory MessagesGetAttachedStickers.deserialize(BinaryReader reader) {
  // Read [MessagesGetAttachedStickers] fields.
  final media = reader.readObject() as InputStickeredMediaBase;

  // Construct [MessagesGetAttachedStickers] object.
  final returnValue = MessagesGetAttachedStickers(
    media: media,
  );

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