Skip to content

GramIO API Reference / gramio/dist / TelegramChatPermissions

Interface: TelegramChatPermissions

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

Describes actions that a non-administrator user is allowed to take in a chat.

Documentation

Properties

PropertyTypeDescriptionDefined in
can_add_web_page_previews?booleanOptional. True, if the user is allowed to add web page previews to their messages@gramio/types/out/objects.d.ts:4533
can_change_info?booleanOptional. True, if the user is allowed to change the chat title, photo and other settings. Ignored in public supergroups.@gramio/types/out/objects.d.ts:4545
can_edit_tag?booleanOptional. True, if the user is allowed to edit their own tag. If omitted, defaults to the value of can_pin_messages.@gramio/types/out/objects.d.ts:4541
can_invite_users?booleanOptional. True, if the user is allowed to invite new users to the chat@gramio/types/out/objects.d.ts:4549
can_manage_topics?booleanOptional. True, if the user is allowed to create forum topics. If omitted, defaults to the value of can_pin_messages.@gramio/types/out/objects.d.ts:4557
can_pin_messages?booleanOptional. True, if the user is allowed to pin messages. Ignored in public supergroups.@gramio/types/out/objects.d.ts:4553
can_react_to_messages?booleanOptional. True, if the user is allowed to react to messages. If omitted, defaults to the value of can_send_messages.@gramio/types/out/objects.d.ts:4537
can_send_audios?booleanOptional. True, if the user is allowed to send audios@gramio/types/out/objects.d.ts:4501
can_send_documents?booleanOptional. True, if the user is allowed to send documents@gramio/types/out/objects.d.ts:4505
can_send_messages?booleanOptional. 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:4497
can_send_other_messages?booleanOptional. True, if the user is allowed to send animations, games, stickers and use inline bots@gramio/types/out/objects.d.ts:4529
can_send_photos?booleanOptional. True, if the user is allowed to send photos@gramio/types/out/objects.d.ts:4509
can_send_polls?booleanOptional. True, if the user is allowed to send polls and checklists@gramio/types/out/objects.d.ts:4525
can_send_video_notes?booleanOptional. True, if the user is allowed to send video notes@gramio/types/out/objects.d.ts:4517
can_send_videos?booleanOptional. True, if the user is allowed to send videos@gramio/types/out/objects.d.ts:4513
can_send_voice_notes?booleanOptional. True, if the user is allowed to send voice notes@gramio/types/out/objects.d.ts:4521