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

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

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

Constructors

new
SponsoredMessage_(params: { recommended?: true; show_peer_photo?: true; random_id: Uint8Array; from_id?: enums.Peer; chat_invite?: enums.ChatInvite; chat_invite_hash?: string; channel_post?: number; start_param?: string; webpage?: enums.SponsoredWebPage; app?: enums.BotApp; message: string; entities?: Array<enums.MessageEntity>; button_text?: string; sponsor_info?: string; additional_info?: string; })

Properties

protected
readonly
[id]
protected
readonly
[params]: Params
optional
additional_info: string
optional
app: enums.BotApp
optional
button_text: string
optional
channel_post: number
optional
chat_invite: enums.ChatInvite
optional
chat_invite_hash: string
optional
entities: Array<enums.MessageEntity>
optional
from_id: enums.Peer
message: string
random_id: Uint8Array
optional
show_peer_photo: true
optional
sponsor_info: string
optional
start_param: string
optional
webpage: enums.SponsoredWebPage

Static Properties

readonly
[name]
readonly
[paramDesc]: ParamDesc