MessageOriginChannel
The message was originally sent to a channel chat.
fields
| field | type | required | description |
|---|---|---|---|
type | string | required | Type of the message origin, always “channel” |
date | number | required | Date the message was sent originally in Unix time |
chat | Chat | required | Channel chat to which the message was originally sent |
message_id | number | required | Unique message identifier inside the chat |
author_signature | string | optional | Optional. Signature of the original post author |
import
import type { MessageOriginChannel } from "@yaebal/types";used by
types
official Bot API docs: https://core.telegram.org/bots/api/#messageoriginchannel