Options
All
  • Public
  • Public/Protected
  • All
Menu

teletron-ts

Index

Classes

Interfaces

Type Aliases

Type Aliases

ActionType: "typing" | "upload_photo" | "record_video" | "upload_video" | "record_voice" | "upload_voice" | "upload_document" | "choose_sticker" | "find_location" | "record_video_note" | "upload_video_note"

This object describes the source of a chat boost.

IMaybeInaccessibleMessage: IMessage | InaccessibleMessage

This object describes a message that can be inaccessible to the bot. It can be one of

This object describes paid media. Currently, it can be one of the follwoing types:

  • PaidMediaPreview
  • PaidMediaPhoto
  • PaidMediaVideo
Message: ((message: IMessage) => void)

Type declaration

TCallbackQueryCallback: ((callback_query: ICallbackQuery) => void)

Type declaration

TChosenInlineResultCallback: ((inLineResult: IChosenInlineResult) => void)

Type declaration

TInlineQueryCallback: ((in_line_query: IInlineQuery) => void)

Type declaration

TMessageCallback: ((message: IMessage) => void)

Type declaration

TOnError: ((error: any) => void)

Type declaration

    • (error: any): void
    • Parameters

      • error: any

      Returns void

TPollAnswerCallback: ((poll_answer: IPollAnswer) => void)

Type declaration

TPollCallback: ((poll: IPoll) => void)

Type declaration

    • Parameters

      Returns void

TPreCheckoutQueryCallback: ((pre_checkout_query: IPreCheckoutQuery) => void)

Type declaration

TShippingQueryCallback: ((shipping_query: IShippingQuery) => void)

Type declaration

Generated using TypeDoc