Skip to main content
Module

x/grammy_types/manage.ts

Types for the Telegram Bot API
Very Popular
Go to Latest
import * as grammyTypes from "https://deno.land/x/grammy_types@v3.0.3/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.

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 file ready to be downloaded. The file can be downloaded via the link https://api.telegram.org/file/bot/<file_path>. It is guaranteed that the link will be valid for at least 1 hour. When the link expires, a new one can be requested by calling getFile.

This object represents a forum topic.

This object represents a Telegram user or bot.

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 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