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

x/mtkruto/tl/2_types.ts>SponsoredMessage

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

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