Documentation

InlineKeyboardButtonTest extends TestCase
in package

Tags
author

Avtandil Kikabidze akalongman@gmail.com

copyright

Avtandil Kikabidze akalongman@gmail.com

license

http://opensource.org/licenses/mit-license.php The MIT License (MIT)

link
https://github.com/php-telegram-bot/core

Table of Contents

$dummy_api_key  : string
testInlineKeyboardButtonCouldBe()  : mixed
testInlineKeyboardButtonNoParameterFail()  : mixed
testInlineKeyboardButtonNoTextFail()  : mixed
testInlineKeyboardButtonParameterSetting()  : mixed
testInlineKeyboardButtonSuccess()  : mixed
testInlineKeyboardButtonTooManyParametersFail()  : mixed
skip64BitTest()  : mixed

Properties

$dummy_api_key

public static string $dummy_api_key = '123456:ABC-DEF1234ghIkl-zyx57W2v1u123ew11'

Methods

testInlineKeyboardButtonCouldBe()

public testInlineKeyboardButtonCouldBe() : mixed
Return values
mixed

testInlineKeyboardButtonNoParameterFail()

public testInlineKeyboardButtonNoParameterFail() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

You must use only one of these fields: url, callback_data, switch_inline_query, switch_inline_query_current_chat, callback_game, pay!

Return values
mixed

testInlineKeyboardButtonNoTextFail()

public testInlineKeyboardButtonNoTextFail() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

You must add some text to the button!

Return values
mixed

testInlineKeyboardButtonParameterSetting()

public testInlineKeyboardButtonParameterSetting() : mixed
Return values
mixed

testInlineKeyboardButtonSuccess()

public testInlineKeyboardButtonSuccess() : mixed
Return values
mixed

testInlineKeyboardButtonTooManyParametersFail()

public testInlineKeyboardButtonTooManyParametersFail() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

You must use only one of these fields: url, callback_data, switch_inline_query, switch_inline_query_current_chat, callback_game, pay!

Return values
mixed

skip64BitTest()

protected skip64BitTest() : mixed
Return values
mixed

Search results