import { MessageManager } from "https://deno.land/x/mtkruto@0.1.157/client/2_message_manager.ts";
Properties
usernameResolver: UsernameResolver
Methods
constructMessage(message_: enums.Message, r?: boolean)
createInviteLink(chatId: ID, params?: CreateInviteLinkParams)
deleteChatMemberMessages(chatId: ID, memberId: ID)
deleteChatPhoto(chatId: number)
disableJoinRequests(chatId: ID)
editInlineMessageReplyMarkup(inlineMessageId: string, params?: EditMessageReplyMarkupParams)
enableJoinRequests(chatId: ID)
getChatAdministrators(chatId: ID)
getCreatedInviteLinks(chatId: ID, params?: GetCreatedInviteLinksParams)
getHistory(chatId: ID, params?: GetHistoryParams)
getMessage(chatId: ID, messageId: number)
getMessages(chatId: ID, messageIds: number[])
getMessageWithReply(chatId: ID, messageId: number)
getStickerSetName(inputStickerSet: types.InputStickerSetID, hash?)
handleUpdate(update: MessageManagerUpdate): Promise<Update | null>
parseText(text: string, params?: { parseMode?: ParseMode; entities?: MessageEntity[]; })
resolveFileId(maybeFileId: string, expectedFileType: FileType)
sendDice(chatId: ID, params?: SendDiceParams)
sendPoll()
sendVenue()
chatId: ID,
latitude: number,
longitude: number,
title: string,
address: string,
params?: SendVenueParams,
setAvailableReactions(chatId: ID, availableReactions: "none" | "all" | Reaction[])
setBoostsRequiredToCircumventRestrictions(chatId: ID, boosts: number)
setChatPhoto(): Promise<void>
unbanChatMember(chatId: ID, memberId: ID)
unblockUser(userId: ID)
unpinMessage(chatId: ID, messageId: number)
unpinMessages(chatId: ID)
Static Methods
canHandleUpdate(update: enums.Update): update is MessageManagerUpdate