CanPostStoryResultLiveStoryIsActive.fromJson constructor

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

Parses a CanPostStoryResultLiveStoryIsActive from TDLib JSON.

Implementation

factory CanPostStoryResultLiveStoryIsActive.fromJson(
  Map<String, dynamic> json,
) => CanPostStoryResultLiveStoryIsActive(
  storyId: _readInt(json['story_id']),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);