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

x/grammy_types/mod.ts>MessageOriginChannel

Type declarations of the Telegram Bot API.
Latest
interface MessageOriginChannel
import { type MessageOriginChannel } from "https://deno.land/x/grammy_types@v3.15.0/mod.ts";

The message was originally sent to a channel chat.

Properties

type: "channel"

Type of the message origin, always “channel”

date: number

Date the message was sent originally in Unix time

Channel chat to which the message was originally sent

message_id: number

Unique message identifier inside the chat

optional
author_signature: string

Signature of the original post author