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

x/grm/src/mod.ts>tl.Api.SponsoredMessage

MTProto API Client for Deno 🦕
Go to Latest
class tl.Api.SponsoredMessage
extends VirtualClass<{ recommended?: boolean; randomId: bytes; fromId?: Api.TypePeer; chatInvite?: Api.TypeChatInvite; chatInviteHash?: string; channelPost?: int; startParam?: string; message: string; entities?: Api.TypeMessageEntity[]; }>
import { tl } from "https://deno.land/x/grm@0.5.2/src/mod.ts";
const { SponsoredMessage } = tl.Api;

Properties

optional
channelPost: int
optional
chatInvite: Api.TypeChatInvite
optional
chatInviteHash: string
className: "SponsoredMessage"
classType: "constructor"
CONSTRUCTOR_ID: 981691896
optional
entities: Api.TypeMessageEntity[]
optional
fromId: Api.TypePeer
message: string
randomId: bytes
optional
startParam: string
SUBCLASS_OF_ID: 3780630582