Client.deleteMessages

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

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

Parameters

channelID Snowflake

the channelID all the messages originate from

msgIDs Snowflake[]

the array of message IDs

Meta