KeyboardButtonTypeWebApp.fromJson constructor

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

Parses a KeyboardButtonTypeWebApp from TDLib JSON.

Implementation

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