Skip to main content
Module

x/grammy_types/manage.ts

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
import * as grammyTypes from "https://deno.land/x/grammy_types@v3.4.4/manage.ts";

Interfaces

This object represents a bot command.

Internal type representing channel chats.

Internal type representing channel chats returned from getChat.

Internal type representing group chats.

Internal type representing group chats returned from getChat.

Internal type representing private chats.

Internal type representing private chats returned from getChat.

Internal type representing super group chats.

Internal type representing supergroup chats returned from getChat.

Represents the rights of an administrator in a chat.

This object contains information about a chat boost.

This object represents a boost removed from a chat.

The boost was obtained by the creation of Telegram Premium gift codes to boost a chat. Each such code boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

The boost was obtained by the creation of a Telegram Premium giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription.

The boost was obtained by subscribing to Telegram Premium or by gifting a Telegram Premium subscription to another user.

This object represents a boost added to a chat or changed.

Represents an invite link for a chat.

Represents a join request sent to a chat.

Represents a location to which a chat is connected.

Represents a chat member that has some additional privileges.

Represents a chat member that was banned in the chat and can't return to the chat or view chat messages.

Represents a chat member that isn't currently a member of the chat, but may join it themselves.

Represents a chat member that has no additional privileges or restrictions.

Represents a chat member that owns the chat and has all administrator privileges.

Represents a chat member that is under certain restrictions in the chat. Supergroups only.

This object represents changes in the status of a chat member.

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

This object represents a chat photo.

This object represents a forum topic.

This object represents a Telegram user or bot.

This object represents a list of boosts added to a chat by a user.

This object represents a Telegram user or bot that was returned by getMe.

This object represent a user's profile pictures.

Describes the current status of a webhook.

Type Aliases

This object represents a chat.

This object describes the source of a chat boost. It can be one of

This object represents a Telegram user or bot that was returned by getChat.

This object contains information about one member of a chat. Currently, the following 6 types of chat members are supported:

  • ChatMemberOwner
  • ChatMemberAdministrator
  • ChatMemberMember
  • ChatMemberRestricted
  • ChatMemberLeft
  • ChatMemberBanned