Class Short

Hierarchy

  • Short

Indexable

[key: string]: any

Constructors

  • Parameters

    • options: Options = {}

    Returns Short

Properties

options: any = {}

Methods

  • Parameters

    • kkk: any
    • sh: any
    • sh2: any
    • uid: any

    Returns Promise<void>

  • Parameters

    • text: any = null
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • from_chat_id: any
    • message_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • message_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • drop_pending_updates: any = true

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • message_id: any
    • text: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • sceneName: string

    Returns Promise<void>

    Example

    msg.enter("greet")
    
  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • from_chat_id: any
    • message_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • file_id: any
    • options: Options = {}

    Returns Promise<any>

  • Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • opk: any = {}

    Returns Promise<void>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • message_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • method: string
    • options: Options = {}
    • headers: Options = {}

    Returns Promise<any>

    Example

    bot.request("sendMessage", {chat_id: -100123456789, text: "Hi"})
    
  • Parameters

    • invite_link: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • text: any
    • options: Options = {}

    Returns Promise<any>

    Example

    bot.send(-100123456789, "Hello");
    or you can use directly without giving chatid by using context object of your listener

    Example

    bot.on("message", ctx  ctx.send("Hello"))
    
  • Parameters

    • action: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • file: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • phone_number: any
    • first_name: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • doc: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • latitude: any
    • longitude: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • file: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • question: any
    • your_options: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • latitude: any
    • longitude: any
    • title: any
    • address: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • file: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • user_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • message_id: any
    • options: Options = {}

    Returns Promise<any>

  • Parameters

    • options: Options = {}

    Returns Promise<any>

Generated using TypeDoc