InternalLinkTypeAttachmentMenuBot.fromJson constructor

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

Parse from a json

Implementation

factory InternalLinkTypeAttachmentMenuBot.fromJson(
        Map<String, dynamic> json) =>
    InternalLinkTypeAttachmentMenuBot(
      targetChat: TargetChat.fromJson(json['target_chat']),
      botUsername: json['bot_username'],
      url: json['url'],
      extra: json['@extra'],
      clientId: json['@client_id'],
    );