UNPKG

bottender

Version:

A framework for building conversational user interfaces.

27 lines 1.22 kB
import { TelegramTypes as TelegramTypesInternal } from 'messaging-api-telegram'; import { RequestContext } from '../types'; export * from 'messaging-api-telegram/dist/TelegramTypes'; export { TelegramConnectorOptions } from './TelegramConnector'; export declare type TelegramRawEvent = { updateId: number; message?: TelegramTypesInternal.Message; editedMessage?: TelegramTypesInternal.Message; channelPost?: TelegramTypesInternal.Message; editedChannelPost?: TelegramTypesInternal.Message; inlineQuery?: TelegramTypesInternal.InlineQuery; chosenInlineResult?: TelegramTypesInternal.ChosenInlineResult; callbackQuery?: TelegramTypesInternal.CallbackQuery; shippingQuery?: TelegramTypesInternal.ShippingQuery; preCheckoutQuery?: TelegramTypesInternal.PreCheckoutQuery; poll?: TelegramTypesInternal.Poll; pollAnswer?: TelegramTypesInternal.PollAnswer; }; export declare type TelegramRequestBody = TelegramRawEvent; export declare type TelegramRequestContext = RequestContext<TelegramRequestBody>; export declare type PollingOptions = { offset?: number; limit?: number; timeout?: number; allowedUpdates?: string[]; }; //# sourceMappingURL=TelegramTypes.d.ts.map