BusinessMessagesDeleted.fromJson constructor

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

Creates a BusinessMessagesDeleted object from a JSON map.

Implementation

factory BusinessMessagesDeleted.fromJson(Map<String, dynamic> json) {
  return BusinessMessagesDeleted(
    businessConnectionId: json['business_connection_id'],
    chat: Chat.fromJson(json['chat']),
    messageIds: List<int>.from(json['message_ids']),
  );
}