class tl.CustomMessage
extends SenderGetter
Re-export
import { tl } from "https://deno.land/x/grm@0.5.2/mod.ts";
const { CustomMessage } = tl;
Properties
optional
_buttons: MessageButton[][]optional
_buttonsFlat: MessageButton[]optional
_client: AbstractTelegramClientoptional
_file: Fileoptional
_forward: Forwardoptional
_replyMessage: Api.Messageoptional
_viaBot: Api.TypeEntityLikeoptional
_viaInputBot: Api.TypeEntityLikeaction: Api.TypeMessageAction
optional
entities: Api.TypeMessageEntity[]optional
fromId: Api.TypePeeroptional
fwdFrom: Api.TypeMessageFwdHeaderoptional
media: Api.TypeMessageMediapeerId: Api.TypePeer
optional
reactions: Api.MessageReactionsoptional
replies: Api.TypeMessageRepliesoptional
replyMarkup: Api.TypeReplyMarkupoptional
replyTo: Api.MessageReplyHeaderoptional
restrictionReason: Api.TypeRestrictionReason[]Methods
_documentByAttribute(kind: Function, condition?: Function)
_finishInit()
client: AbstractTelegramClient,
entities: Map<string, Api.TypeEntity>,
inputChat?: Api.TypeEntityLike,
_setButtons(chat: Api.TypeEntityLike, bot?: Api.TypeEntityLike)
click(unnamed 0: ButtonClickParam)
delete(unnamed 0?)
downloadMedia(params?: DownloadMediaInterface)
edit(params: Omit<EditMessageParams, "message">)
forwardTo(entity: Api.TypeEntityLike)
getEntitiesText(cls?: Function)
getReplyMessage(): Promise<Api.Message | undefined>
init(unnamed 0: MessageBaseInterface)
pin(params?: UpdatePinMessageParams)
reply(params: SendMessageParams)
respond(params: SendMessageParams)
unpin(params?: UpdatePinMessageParams)