TargetChatInternalLink.fromJson constructor

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

Parses a TargetChatInternalLink from TDLib JSON.

Implementation

factory TargetChatInternalLink.fromJson(Map<String, dynamic> json) =>
    TargetChatInternalLink(
      link: _readObject(json['link'], InternalLinkType.fromJson),
    );