InlineQueryResultAnimation.fromJson constructor

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

Parses a InlineQueryResultAnimation from TDLib JSON.

Implementation

factory InlineQueryResultAnimation.fromJson(Map<String, dynamic> json) =>
    InlineQueryResultAnimation(
      id: _readString(json['id']),
      animation: _readObject(json['animation'], Animation.fromJson),
      title: _readString(json['title']),
    );