reportUser

fun reportUser(offendingUser: User, reportCategoryInfo: ReportCategoryInfo, reportDescription: String?, handler: CompletionHandler?)

Reports this channel of inappropriate activities.

Since

4.21.0

Parameters

offendingUser

Offending user.

reportCategoryInfo
reportDescription

Report description. (optional)

handler

Callback handler.


fun reportUser(offendingUser: User, reportCategory: ReportCategory, reportDescription: String?, handler: CompletionHandler?)

Deprecated

As of 4.21.0, use reportUser(User, ReportCategoryInfo, String?, CompletionHandler?) instead.

Replace with

reportUser(offendingUser, ReportCategoryInfo.from(reportCategory), reportDescription, handler)

Reports a user of suspicious activities.

Since

3.0.105

Parameters

offendingUser

Offending user.

reportCategory
reportDescription

Report description. (optional)

handler

Callback handler.