Parse from a json
factory MessagePoll.fromJson(Map<String, dynamic> json) => MessagePoll( poll: Poll.fromJson(json['poll']), );