Class: Telbe::KickChatMemberDescriptor

Inherits:
Object
  • Object
show all
Includes:
SimplifyApi
Defined in:
lib/telbe/chat.rb

Overview

chat_id Integer or String Yes Unique identifier for the target group or username of the target supergroup or channel (in the format @channelusername) user_id Integer Yes Unique identifier of the target user until_date Integer Optional Date when the user will be unbanned, unix time. If user is banned for more than 366 days or less than 30 seconds from the current time they are considered to be banned forever