Skip to main content
Version: 0.37.81

APIAuditLogOptions

@deprecated

API and Gateway v6 are deprecated and the types will not receive further updates, please update to v8.

Index

Properties

optionalchannel_id

channel_id?: string

Present from:

  • MEMBER_MOVE
  • MESSAGE_PIN
  • MESSAGE_UNPIN
  • MESSAGE_DELETE

optionalcount

count?: string

Present from:

  • MESSAGE_DELETE
  • MESSAGE_BULK_DELETE
  • MEMBER_DISCONNECT
  • MEMBER_MOVE

optionaldelete_member_days

delete_member_days?: string

Present from:

  • MEMBER_PRUNE

optionalid

id?: string

Present from:

  • CHANNEL_OVERWRITE_CREATE
  • CHANNEL_OVERWRITE_UPDATE
  • CHANNEL_OVERWRITE_DELETE

optionalmembers_removed

members_removed?: string

Present from:

  • MEMBER_PRUNE

optionalmessage_id

message_id?: string

Present from:

  • MESSAGE_PIN
  • MESSAGE_UNPIN

optionalrole_name

role_name?: string

Present from:

  • CHANNEL_OVERWRITE_CREATE
  • CHANNEL_OVERWRITE_UPDATE
  • CHANNEL_OVERWRITE_DELETE

Present only if the entry type is “role”

type

Present from:

  • CHANNEL_OVERWRITE_CREATE
  • CHANNEL_OVERWRITE_UPDATE
  • CHANNEL_OVERWRITE_DELETE