MessageChatSetBackground.fromJson constructor

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

Parse from a json

Implementation

factory MessageChatSetBackground.fromJson(Map<String, dynamic> json) =>
    MessageChatSetBackground(
      oldBackgroundMessageId: json['old_background_message_id'] ?? 0,
      background: ChatBackground.fromJson(json['background']),
    );