Skip to content

GramIO API Reference / gramio/dist / TelegramChatPermissions

Interface: TelegramChatPermissions

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

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:4123
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:4131
can_edit_tag?booleanOptional. True, if the user is allowed to edit their own tag@gramio/types/out/objects.d.ts:4127
can_invite_users?booleanOptional. True, if the user is allowed to invite new users to the chat@gramio/types/out/objects.d.ts:4135
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:4143
can_pin_messages?booleanOptional. True, if the user is allowed to pin messages. Ignored in public supergroups@gramio/types/out/objects.d.ts:4139
can_send_audios?booleanOptional. True, if the user is allowed to send audios@gramio/types/out/objects.d.ts:4091
can_send_documents?booleanOptional. True, if the user is allowed to send documents@gramio/types/out/objects.d.ts:4095
can_send_messages?booleanOptional. True, if the user is allowed to send text messages, contacts, giveaways, giveaway winners, invoices, locations and venues@gramio/types/out/objects.d.ts:4087
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:4119
can_send_photos?booleanOptional. True, if the user is allowed to send photos@gramio/types/out/objects.d.ts:4099
can_send_polls?booleanOptional. True, if the user is allowed to send polls and checklists@gramio/types/out/objects.d.ts:4115
can_send_video_notes?booleanOptional. True, if the user is allowed to send video notes@gramio/types/out/objects.d.ts:4107
can_send_videos?booleanOptional. True, if the user is allowed to send videos@gramio/types/out/objects.d.ts:4103
can_send_voice_notes?booleanOptional. True, if the user is allowed to send voice notes@gramio/types/out/objects.d.ts:4111