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

x/grammy_types/manage.ts

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

Interfaces

Describes the birthdate of a user.

This object represents a bot command.

Describes the connection of the bot with a business account.

Contains information about the start page settings of a Telegram Business account.

Contains information about the location of a Telegram Business account.

This object is received when messages are deleted from a connected business account.

Describes the opening hours of a business.

Describes an interval of time during which a business is open.

Internal type for channel chats

Internal type for group chats

Internal type for private chats

Internal type for supergroup chats

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 or a Telegram Star giveaway. This boosts the chat 4 times for the duration of the corresponding Telegram Premium subscription for Telegram Premium giveaways and prize_star_count / 500 times for one year for Telegram Star giveaways.

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.

Internal type for channel chats

Internal type for group chats

Internal type for private chats

Internal type for supergroup chats

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

T
ChatFromGetChat
deprecated

This object contains full information about a chat.

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