ChatEventPollStopped.fromJson constructor

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

Parses a ChatEventPollStopped from TDLib JSON.

Implementation

factory ChatEventPollStopped.fromJson(Map<String, dynamic> json) =>
    ChatEventPollStopped(
      message: _readObject(json['message'], Message.fromJson),
    );