Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback


Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
interface ChatInviteLink
import { type ChatInviteLink } from "";

Represents an invite link for a chat.


creator: User

Creator of the link

creates_join_request: boolean

True, if users joining the chat via the link need to be approved by chat administrators

is_primary: boolean

True, if the link is primary

is_revoked: boolean

True, if the link is revoked

name: string

Invite link name

expire_date: number

Point in time (Unix timestamp) when the link will expire or has been expired

member_limit: number

The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999

pending_join_request_count: number

Number of pending join requests created using this link