Skip to main content
Module

x/grammy_types/mod.ts>MessageOrigin

Type declarations of the Telegram Bot API.
Very Popular
Go to Latest
type alias MessageOrigin
import { type MessageOrigin } from "https://deno.land/x/grammy_types@v3.6.2/mod.ts";

This object describes the origin of a message. It can be one of

  • MessageOriginUser
  • MessageOriginHiddenUser
  • MessageOriginChat
  • MessageOriginChannel
definition:
| MessageOriginUser
| MessageOriginHiddenUser
| MessageOriginChat
| MessageOriginChannel