InputQuickReplyShortcutId.deserialize constructor

InputQuickReplyShortcutId.deserialize(
  1. BinaryReader reader
)

Deserialize.

Implementation

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

  // Construct [InputQuickReplyShortcutId] object.
  final returnValue = InputQuickReplyShortcutId(shortcutId: shortcutId);

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