InlineKeyboardButtonTypeUrl.fromJson constructor

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

Parses a InlineKeyboardButtonTypeUrl from TDLib JSON.

Implementation

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