class SponsoredMessage
extends _TypeSponsoredMessage
import { SponsoredMessage } from "https://deno.land/x/mtkruto@0.1.117/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
[params]: Paramsoptional
chatInvite: TypeChatInviteoptional
entities: Array<TypeMessageEntity>optional
fromId: TypePeeroptional
webpage: TypeSponsoredWebPageStatic Properties
readonly
[paramDesc]: ParamDesc