Bot API method

banChatMember

4 parameters. Required ones are marked.

Parameters

ParameterTypeRequired
chat_idInteger or Stringyes
user_idIntegeryes
until_dateIntegerno
revoke_messagesBooleanno

Related methods

Computed from shared parameters — the source has no such view.

The method description lives with Telegram: source · full reference