awaitReportUser

suspend fun BaseChannel.awaitReportUser(offendingUser: User, reportCategoryInfo: ReportCategoryInfo, reportDescription: String?)

Reports a user of suspicious activities.

Since

4.21.0

Parameters

offendingUser

The user to report

reportCategoryInfo

The category of the report

reportDescription

The description of the report

See also

ReportCategoryInfo

suspend fun BaseChannel.awaitReportUser(offendingUser: User, reportCategory: ReportCategory, reportDescription: String?)

Deprecated

As of 4.21.0, replaced with awaitReportUser(User, ReportCategoryInfo, String?)

Replace with

awaitReportUser(offendingUser, reportCategoryInfo, reportDescription)

Reports a user of suspicious activities.

Since

4.17.0

Parameters

offendingUser

The user to report

reportCategory

The category of the report

reportDescription

The description of the report

See also

ReportCategory