class Telbe::RestrictChatMemberDescriptor
chat_id Integer or String Yes Unique identifier for the target chat or username of the target supergroup (in the format @supergroupusername) user_id Integer Yes Unique identifier of the target user until_date Integer Optional Date when restrictions will be lifted for the user, unix time. If user is restricted for more than 366 days or less than 30 seconds from the current time, they are considered to be restricted forever can_send_messages Boolean Optional Pass True, if the user can send text messages, contacts, locations and venues can_send_media_messages Boolean Optional Pass True, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages can_send_other_messages Boolean Optional Pass True, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages can_add_web_page_previews Boolean Optional Pass True, if the user may add web page previews to their messages, implies can_send_media_messages