Client.deleteMessages

Deletes an array of messages for a given channel, properly bulking them if required.

  1. void deleteMessages(Snowflake channelID, Message[] messages)
    class Client
    void
    deleteMessages
    (
    Snowflake channelID
    ,
    Message[] messages
    )
  2. void deleteMessages(Snowflake channelID, Snowflake[] msgIDs)

Parameters

channelID Snowflake

the channelID all the messages originate from.

messages Message[]

the array of messages.

Meta