InputMessageDice.fromJson constructor

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

Parse from a json

Implementation

factory InputMessageDice.fromJson(Map<String, dynamic> json) =>
    InputMessageDice(
      emoji: json['emoji'],
      clearDraft: json['clear_draft'],
    );