InputChatPhotoPrevious.fromJson constructor

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

Parse from a json

Implementation

factory InputChatPhotoPrevious.fromJson(Map<String, dynamic> json) =>
    InputChatPhotoPrevious(
      chatPhotoId: int.parse(json['chat_photo_id']),
    );