reason property

int? get reason

The reason for the blockage. Possible values:

  • 0 — other (default).
  • 1 — spam.
  • 2 — insulting the participants.
  • 3 — obscene expressions.
  • 4 — Off-topic messages.

Implementation

int? get reason => update.object['reason'];