InputBusinessChatLink.fromJson constructor

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

Parses a InputBusinessChatLink from TDLib JSON.

Implementation

factory InputBusinessChatLink.fromJson(Map<String, dynamic> json) =>
    InputBusinessChatLink(
      text: _readObject(json['text'], FormattedText.fromJson),
      title: _readString(json['title']),
    );