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

x/grammy_types/message.ts>MessageOriginUser

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

The message was originally sent by a known user.

Properties

type: "user"

Type of the message origin, always “user”

date: number

Date the message was sent originally in Unix time

sender_user: User

User that sent the message originally