class SponsoredMessage_
extends _SponsoredMessage_
import { SponsoredMessage_ } from "https://deno.land/x/mtkruto@0.1.130/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
[params]: Paramsoptional
app: enums.BotAppoptional
chat_invite: enums.ChatInviteoptional
entities: Array<enums.MessageEntity>optional
from_id: enums.Peeroptional
webpage: enums.SponsoredWebPageStatic Properties
readonly
[paramDesc]: ParamDesc