Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/3_types.ts>ChatMemberRights

Cross-runtime JavaScript library for building Telegram clients
Latest
interface ChatMemberRights
Re-export
import { type ChatMemberRights } from "https://deno.land/x/mtkruto@0.6.2/3_types.ts";

The rights of a chat member.

Properties

optional
canSendMessages: boolean

Whether messages are allowed to be sent.

optional
canSendAudio: boolean

Whether audio files are allowed to be sent.

optional
canSendDocuments: boolean

Whether files are allowed to be sent.

optional
canSendPhotos: boolean

Whether photos are allowed to be sent.

optional
canSendVideos: boolean

Whether videos are allowed to be sent.

optional
canSendVideoNotes: boolean

Whether video notes are allowed to be sent.

optional
canSendVoice: boolean

Whether voice messages are allowed to be sent.

optional
canSendPolls: boolean

Whether polls are allowed to be sent.

optional
canSendStickers: boolean

Whether stickers are allowed to be sent.

optional
canSendAnimations: boolean

Whether animations are allowed to be sent.

optional
canSendGames: boolean

Whether games are allowed to be sent.

optional
canSendInlineBotResults: boolean

Whether inline bot results are allowed to be sent.

optional
canAddWebPagePreviews: boolean

Whether it is allowed to add web page previews.

optional
canChangeInfo: boolean

Whether it is allowed to change the chat info. Ignored for supergroups.

optional
canInviteUsers: boolean

Whether it is allowed to invite users.

optional
canPinMessages: boolean

Whether it is allowed to pin messages.

optional
canManageTopics: boolean

Whether it is allowed to manage topics.