KeyboardButtonTypeRequestPoll.fromJson constructor

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

Parse from a json

Implementation

factory KeyboardButtonTypeRequestPoll.fromJson(Map<String, dynamic> json) =>
    KeyboardButtonTypeRequestPoll(
      forceRegular: json['force_regular'],
      forceQuiz: json['force_quiz'],
    );