Messages

Ban user in dialog

post/dialogs/{id}/ban

Request

  • Base URL: https://api.yani.tv
  • URL: https://api.yani.tv/dialogs/{id}/ban
  • Auth: none declared

Path parameters

idinteger required

Dialog ID

Request body

unbandeltainteger

In how much time should one unban user

reasonstring

Description of the reason, why this person should be banned (for chats)

user_idinteger

User Id in case of bad in chat

Response

Success response

responseboolean

Example response

{
  "response": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.