GramIO API Reference / gramio/dist / TelegramChatMemberRestricted
Interface: TelegramChatMemberRestricted
Defined in: @gramio/types/out/objects.d.ts:4329
Represents a chat member that is under certain restrictions in the chat. Supergroups only.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
can_add_web_page_previews | boolean | True, if the user is allowed to add web page previews to their messages | @gramio/types/out/objects.d.ts:4385 |
can_change_info | boolean | True, if the user is allowed to change the chat title, photo and other settings | @gramio/types/out/objects.d.ts:4397 |
can_edit_tag | boolean | True, if the user is allowed to edit their own tag | @gramio/types/out/objects.d.ts:4393 |
can_invite_users | boolean | True, if the user is allowed to invite new users to the chat | @gramio/types/out/objects.d.ts:4401 |
can_manage_topics | boolean | True, if the user is allowed to create forum topics | @gramio/types/out/objects.d.ts:4409 |
can_pin_messages | boolean | True, if the user is allowed to pin messages | @gramio/types/out/objects.d.ts:4405 |
can_react_to_messages | boolean | True, if the user is allowed to react to messages | @gramio/types/out/objects.d.ts:4389 |
can_send_audios | boolean | True, if the user is allowed to send audios | @gramio/types/out/objects.d.ts:4353 |
can_send_documents | boolean | True, if the user is allowed to send documents | @gramio/types/out/objects.d.ts:4357 |
can_send_messages | boolean | True, if the user is allowed to send text messages, rich messages, contacts, giveaways, giveaway winners, invoices, locations and venues | @gramio/types/out/objects.d.ts:4349 |
can_send_other_messages | boolean | True, if the user is allowed to send animations, games, stickers and use inline bots | @gramio/types/out/objects.d.ts:4381 |
can_send_photos | boolean | True, if the user is allowed to send photos | @gramio/types/out/objects.d.ts:4361 |
can_send_polls | boolean | True, if the user is allowed to send polls and checklists | @gramio/types/out/objects.d.ts:4377 |
can_send_video_notes | boolean | True, if the user is allowed to send video notes | @gramio/types/out/objects.d.ts:4369 |
can_send_videos | boolean | True, if the user is allowed to send videos | @gramio/types/out/objects.d.ts:4365 |
can_send_voice_notes | boolean | True, if the user is allowed to send voice notes | @gramio/types/out/objects.d.ts:4373 |
is_member | boolean | True, if the user is a member of the chat at the moment of the request | @gramio/types/out/objects.d.ts:4345 |
status | "restricted" | The member's status in the chat, always “restricted” | @gramio/types/out/objects.d.ts:4333 |
tag? | string | Optional. Tag of the member | @gramio/types/out/objects.d.ts:4337 |
until_date | number | Date when restrictions will be lifted for this user; Unix time. If 0, then the user is restricted forever. | @gramio/types/out/objects.d.ts:4413 |
user | TelegramUser | Information about the user | @gramio/types/out/objects.d.ts:4341 |