Skip to content

GramIO API Reference / gramio/dist / TelegramChatMemberRestricted

Interface: TelegramChatMemberRestricted

Defined in: @gramio/types/out/objects.d.ts:3767

Represents a chat member that is under certain restrictions in the chat. Supergroups only.

Documentation

Properties

PropertyTypeDescriptionDefined in
can_add_web_page_previewsbooleanTrue, if the user is allowed to add web page previews to their messages@gramio/types/out/objects.d.ts:3823
can_change_infobooleanTrue, if the user is allowed to change the chat title, photo and other settings@gramio/types/out/objects.d.ts:3831
can_edit_tagbooleanTrue, if the user is allowed to edit their own tag@gramio/types/out/objects.d.ts:3827
can_invite_usersbooleanTrue, if the user is allowed to invite new users to the chat@gramio/types/out/objects.d.ts:3835
can_manage_topicsbooleanTrue, if the user is allowed to create forum topics@gramio/types/out/objects.d.ts:3843
can_pin_messagesbooleanTrue, if the user is allowed to pin messages@gramio/types/out/objects.d.ts:3839
can_send_audiosbooleanTrue, if the user is allowed to send audios@gramio/types/out/objects.d.ts:3791
can_send_documentsbooleanTrue, if the user is allowed to send documents@gramio/types/out/objects.d.ts:3795
can_send_messagesbooleanTrue, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues@gramio/types/out/objects.d.ts:3787
can_send_other_messagesbooleanTrue, if the user is allowed to send animations, games, stickers and use inline bots@gramio/types/out/objects.d.ts:3819
can_send_photosbooleanTrue, if the user is allowed to send photos@gramio/types/out/objects.d.ts:3799
can_send_pollsbooleanTrue, if the user is allowed to send polls and checklists@gramio/types/out/objects.d.ts:3815
can_send_video_notesbooleanTrue, if the user is allowed to send video notes@gramio/types/out/objects.d.ts:3807
can_send_videosbooleanTrue, if the user is allowed to send videos@gramio/types/out/objects.d.ts:3803
can_send_voice_notesbooleanTrue, if the user is allowed to send voice notes@gramio/types/out/objects.d.ts:3811
is_memberbooleanTrue, if the user is a member of the chat at the moment of the request@gramio/types/out/objects.d.ts:3783
status"restricted"The member's status in the chat, always “restricted”@gramio/types/out/objects.d.ts:3771
tag?stringOptional. Tag of the member@gramio/types/out/objects.d.ts:3775
until_datenumberDate when restrictions will be lifted for this user; Unix time. If 0, then the user is restricted forever@gramio/types/out/objects.d.ts:3847
userTelegramUserInformation about the user@gramio/types/out/objects.d.ts:3779