* Flag this user for moderation (⚠️ server-side only) * @link https://getstream.io/activity-feeds/docs/node/moderation/?language=js#flagging-users * @method flag * @memberof StreamUser.prototype * @param {FlagUserOptions} [options] - Optional flagging options * @param {string} [option
(options: FlagUserOptions = {})
| 170 | * @example user.flag({ reason: 'inappropriate_content', user_id: 'alice' }) |
| 171 | */ |
| 172 | flag(options: FlagUserOptions = {}) { |
| 173 | return this.client.flagUser(this.id, options); |
| 174 | } |
| 175 | } |