Skip to content

Bad fun name #13

@bots-business

Description

@bots-business
function invalidAmount() {
  results.push({
    type: "article",
    id: totalResult,
    title: "Illegal Statement",
    input_message_content: {
      message_text:
        "Convert_to data isn't numeric! please ensure you enter $ amount from_currency to to_currency\n\nexample for 1 BitCoin to iNR, Enter: $ 1 BTC to INR "
    },
    reply_markup: {
      inline_keyboard: [
        [
          {
            text: "New Query",
            switch_inline_query_current_chat: "$ 1 BTC to INR"
          }
        ]
      ]
    }
  })
  Api.answerInlineQuery({
    inline_query_id: request.id,
    results: results,
    cache_time: 3 // cache time in sec
  })
}

why invalidAmount?
May be sendAnswerInvalidAmount ? Because we have answer sending here

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedFixed. Ignored closing.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions