class tl.Api.SponsoredMessage
extends VirtualClass<{ recommended?: boolean; randomId: bytes; fromId?: Api.TypePeer; chatInvite?: Api.TypeChatInvite; chatInviteHash?: string; channelPost?: int; startParam?: string; message: string; entities?: Api.TypeMessageEntity[]; }>
import { tl } from "https://deno.land/x/grm@0.5.2/src/mod.ts";
const { SponsoredMessage } = tl.Api;
Properties
optional
chatInvite: Api.TypeChatInviteoptional
entities: Api.TypeMessageEntity[]optional
fromId: Api.TypePeerStatic Methods
fromReader(reader: Reader): SponsoredMessage