Skip to content
GitHub

ResponsePayload

type alias in meocord/common Since 4.1.0

type ResponsePayload =
  | string
  | (Omit<InteractionReplyOptions, 'flags' | 'withResponse' | 'ephemeral'> & {
      flags?: ResponseFlags
      ephemeral?: boolean
    })

A message sent with send() or followUp(): text, or reply options with the flags it can take.