Skip to content

GramIO API Reference / gramio/dist / TelegramChatPermissions

Interface: TelegramChatPermissions

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

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:3963
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:3971
can_edit_tag?booleanOptional. True, if the user is allowed to edit their own tag@gramio/types/out/objects.d.ts:3967
can_invite_users?booleanOptional. True, if the user is allowed to invite new users to the chat@gramio/types/out/objects.d.ts:3975
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:3983
can_pin_messages?booleanOptional. True, if the user is allowed to pin messages. Ignored in public supergroups@gramio/types/out/objects.d.ts:3979
can_send_audios?booleanOptional. True, if the user is allowed to send audios@gramio/types/out/objects.d.ts:3931
can_send_documents?booleanOptional. True, if the user is allowed to send documents@gramio/types/out/objects.d.ts:3935
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:3927
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:3959
can_send_photos?booleanOptional. True, if the user is allowed to send photos@gramio/types/out/objects.d.ts:3939
can_send_polls?booleanOptional. True, if the user is allowed to send polls and checklists@gramio/types/out/objects.d.ts:3955
can_send_video_notes?booleanOptional. True, if the user is allowed to send video notes@gramio/types/out/objects.d.ts:3947
can_send_videos?booleanOptional. True, if the user is allowed to send videos@gramio/types/out/objects.d.ts:3943
can_send_voice_notes?booleanOptional. True, if the user is allowed to send voice notes@gramio/types/out/objects.d.ts:3951