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

x/mtkruto/2_tl.ts>types.SponsoredMessage

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class types.SponsoredMessage
import { types } from "https://deno.land/x/mtkruto@0.0.995/2_tl.ts";
const { SponsoredMessage } = types;

Constructors

new
SponsoredMessage(params: { recommended?: true; showPeerPhoto?: true; randomId: Uint8Array; fromId?: TypePeer; chatInvite?: TypeChatInvite; chatInviteHash?: string; channelPost?: number; startParam?: string; webpage?: TypeSponsoredWebPage; message: string; entities?: Array<TypeMessageEntity>; sponsorInfo?: string; additionalInfo?: string; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
additionalInfo: string
optional
channelPost: number
optional
chatInvite: TypeChatInvite
optional
chatInviteHash: string
optional
entities: Array<TypeMessageEntity>
optional
fromId: TypePeer
message: string
randomId: Uint8Array
optional
showPeerPhoto: true
optional
sponsorInfo: string
optional
startParam: string
optional
webpage: TypeSponsoredWebPage

Static Properties

readonly
[paramDesc]: ParamDesc