Documentation

KeyboardTest 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
testKeyboardAddRows()  : mixed
testKeyboardDataMalformedField()  : mixed
testKeyboardDataMalformedSubfield()  : mixed
testKeyboardMethods()  : mixed
testKeyboardMultipleButtonsMultipleRows()  : mixed
testKeyboardMultipleButtonsSingleRow()  : mixed
testKeyboardSingleButtonMultipleRows()  : mixed
testKeyboardSingleButtonSingleRow()  : mixed
testKeyboardWithButtonObjects()  : mixed
testKeyboardWithDataArray()  : mixed
testPredefinedKeyboards()  : mixed
skip64BitTest()  : mixed

Properties

$dummy_api_key

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

Methods

testKeyboardAddRows()

public testKeyboardAddRows() : mixed
Return values
mixed

testKeyboardDataMalformedField()

public testKeyboardDataMalformedField() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

keyboard field is not an array!

Return values
mixed

testKeyboardDataMalformedSubfield()

public testKeyboardDataMalformedSubfield() : mixed
Tags
expectedException

\Longman\TelegramBot\Exception\TelegramException

expectedExceptionMessage

keyboard subfield is not an array!

Return values
mixed

testKeyboardMethods()

public testKeyboardMethods() : mixed
Return values
mixed

testKeyboardMultipleButtonsMultipleRows()

public testKeyboardMultipleButtonsMultipleRows() : mixed
Return values
mixed

testKeyboardMultipleButtonsSingleRow()

public testKeyboardMultipleButtonsSingleRow() : mixed
Return values
mixed

testKeyboardSingleButtonMultipleRows()

public testKeyboardSingleButtonMultipleRows() : mixed
Return values
mixed

testKeyboardSingleButtonSingleRow()

public testKeyboardSingleButtonSingleRow() : mixed
Return values
mixed

testKeyboardWithButtonObjects()

public testKeyboardWithButtonObjects() : mixed
Return values
mixed

testKeyboardWithDataArray()

public testKeyboardWithDataArray() : mixed
Return values
mixed

testPredefinedKeyboards()

public testPredefinedKeyboards() : mixed
Return values
mixed

skip64BitTest()

protected skip64BitTest() : mixed
Return values
mixed

Search results