InlineKeyboardButtonTypeWebApp.fromJson constructor

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

Parses a InlineKeyboardButtonTypeWebApp from TDLib JSON.

Implementation

factory InlineKeyboardButtonTypeWebApp.fromJson(Map<String, dynamic> json) =>
    InlineKeyboardButtonTypeWebApp(
      url: _readString(json['url']),
    );