Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • IModerationModify

Index

Methods

dismissReportsByMessageId

  • dismissReportsByMessageId(messageId: string, reason: string, action: string, appId: string): Promise<void>
  • Provides a way for Apps to dismiss reports by message id.

    Parameters

    • messageId: string

      the messageId to dismiss reports

    • reason: string
    • action: string
    • appId: string

      the app id

    Returns Promise<void>

dismissReportsByUserId

  • dismissReportsByUserId(userId: string, reason: string, action: string, appId: string): Promise<void>
  • Provides a way for Apps to dismiss reports by user id.

    Parameters

    • userId: string

      the userId to dismiss reports

    • reason: string
    • action: string
    • appId: string

      the app id

    Returns Promise<void>

report

  • report(messageId: string, description: string, userId: string, appId: string): Promise<void>
  • Provides a way for Apps to report a message.

    Parameters

    • messageId: string

      the messageId to report

    • description: string

      the description of the report

    • userId: string

      the userId to be reported

    • appId: string

      the app id

    Returns Promise<void>

Generated using TypeDoc