TonCenterApiRequestTypePost.fromJson constructor

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

Parses a TonCenterApiRequestTypePost from TDLib JSON.

Implementation

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