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