Documentation

KeyboardButtonTest 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
testKeyboardButtonNoTextFail()  : mixed
testKeyboardButtonParameterSetting()  : mixed
testKeyboardButtonSuccess()  : mixed
testKeyboardButtonTooManyParametersFail()  : 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

testKeyboardButtonNoTextFail()

public testKeyboardButtonNoTextFail() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

You must add some text to the button!

Return values
mixed

testKeyboardButtonParameterSetting()

public testKeyboardButtonParameterSetting() : mixed
Return values
mixed

testKeyboardButtonSuccess()

public testKeyboardButtonSuccess() : mixed
Return values
mixed

testKeyboardButtonTooManyParametersFail()

public testKeyboardButtonTooManyParametersFail() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

You must use only one of these fields: request_contact, request_location!

Return values
mixed

skip64BitTest()

protected skip64BitTest() : mixed
Return values
mixed

Search results