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

x/grammy_types/message.ts>Message.CommonMessage

Type declarations of the Telegram Bot API.
Go to Latest
interface Message.CommonMessage
implements ServiceMessage
import { type Message } from "https://deno.land/x/grammy_types@v3.5.0/message.ts";
const { CommonMessage } = Message;

Properties

optional
forward_origin: MessageOrigin

Information about the original message for forwarded messages

optional
is_automatic_forward: true

True, if the message is a channel post that was automatically forwarded to the connected discussion group

optional
reply_to_message: ReplyMessage

For replies in the same chat and message thread, the original message. Note that the Message object in this field will not contain further reply_to_message fields even if it itself is a reply.

optional
external_reply: ExternalReplyInfo

Information about the message that is being replied to, which may come from another chat or forum topic

optional
quote: TextQuote

For replies that quote part of the original message, the quoted part of the message

optional
reply_to_story: Story

For replies to a story, the original message

optional
via_bot: User

Bot through which the message was sent

optional
edit_date: number

Date the message was last edited in Unix time

optional
has_protected_content: true

True, if the message can't be forwarded

optional
author_signature: string

Signature of the post author for messages in channels, or the custom title of an anonymous group administrator

optional
reply_markup: InlineKeyboardMarkup

Inline keyboard attached to the message. login_url buttons are represented as ordinary url buttons.