InlineQueryResultsButton.fromJson constructor

InlineQueryResultsButton.fromJson(
  1. Map<String, dynamic> json
)

Parses a InlineQueryResultsButton from TDLib JSON.

Implementation

factory InlineQueryResultsButton.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultsButton(
      text: _readString(json['text']),
      type: _readObject(json['type'], InlineQueryResultsButtonType.fromJson),
    );