Skip to main content
Module

x/mtkruto/mod.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.1.108/mod.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