fromJson static method

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

Implementation

static MessageDeleteEvent fromJson(Map<String, dynamic> json) {
  return MessageDeleteEvent(
    id: json['id'],
    channelId: json['channel_id'],
    guildId: json['guild_id'],
  );
}