RestrictChatMemberMethod

Method to restrict a user in a supergroup

Members

Mixins

__anonymous
mixin TelegramMethod!"/restrictChatMember"
Undocumented in source.

Variables

can_add_web_page_previews
bool can_add_web_page_previews;

Pass true, if the user may add web page previews to their messages, implies can_send_media_messages

can_send_media_messages
bool can_send_media_messages;

/ Pass true, if the user can send audios, documents, photos, videos, video notes and voice notes, implies can_send_messages

can_send_messages
bool can_send_messages;

Pass true, if the user can send text messages, contacts, locations and venues

can_send_other_messages
bool can_send_other_messages;

Pass true, if the user can send animations, games, stickers and use inline bots, implies can_send_media_messages

chat_id
TelegramID chat_id;

Unique identifier for the target chat or username of the target supergroup (in the format "@supergroupusername")

until_date
SysTime until_date;

Date when restrictions will be lifted for the user

user_id
int user_id;

Unique identifier of the target user

See Also

Meta