Search
Preparing search index...
The search index is not available
telegram
Options
All
Public
Public/Protected
All
Inherited
Menu
telegram
custom
Button
Class Button
Hierarchy
Button
Index
Properties
button
resize
selective
single
Use
Methods
[custom]
_is
Inline
inline
switch
Inline
url
auth
text
request
Location
request
Phone
request
Poll
clear
force
Reply
Constructors
constructor
Properties
button
button
:
ButtonLike
resize
resize
:
undefined
|
boolean
selective
selective
:
undefined
|
boolean
single
Use
single
Use
:
undefined
|
boolean
Methods
[custom]
[custom]
(
)
:
{}
Returns
{}
[
key:
string
]:
any
Static
_is
Inline
_is
Inline
(
button
:
ButtonLike
)
:
boolean
Parameters
button:
ButtonLike
Returns
boolean
Static
inline
inline
(
text
:
string
, data
?:
Buffer
)
:
KeyboardButtonCallback
Parameters
text:
string
Optional
data:
Buffer
Returns
KeyboardButtonCallback
Static
switch
Inline
switch
Inline
(
text
:
string
, query
?:
string
, samePeer
?:
boolean
)
:
KeyboardButtonSwitchInline
Parameters
text:
string
query:
string
= ""
samePeer:
boolean
= false
Returns
KeyboardButtonSwitchInline
Static
url
url
(
text
:
string
, url
?:
string
)
:
KeyboardButtonUrl
Parameters
text:
string
Optional
url:
string
Returns
KeyboardButtonUrl
Static
auth
auth
(
text
:
string
, url
?:
string
, bot
?:
EntityLike
, writeAccess
?:
boolean
, fwdText
?:
string
)
:
InputKeyboardButtonUrlAuth
Parameters
text:
string
Optional
url:
string
Optional
bot:
EntityLike
Optional
writeAccess:
boolean
Optional
fwdText:
string
Returns
InputKeyboardButtonUrlAuth
Static
text
text
(
text
:
string
, resize
?:
boolean
, singleUse
?:
boolean
, selective
?:
boolean
)
:
Button
Parameters
text:
string
Optional
resize:
boolean
Optional
singleUse:
boolean
Optional
selective:
boolean
Returns
Button
Static
request
Location
request
Location
(
text
:
string
, resize
?:
boolean
, singleUse
?:
boolean
, selective
?:
boolean
)
:
Button
Parameters
text:
string
Optional
resize:
boolean
Optional
singleUse:
boolean
Optional
selective:
boolean
Returns
Button
Static
request
Phone
request
Phone
(
text
:
string
, resize
?:
boolean
, singleUse
?:
boolean
, selective
?:
boolean
)
:
Button
Parameters
text:
string
Optional
resize:
boolean
Optional
singleUse:
boolean
Optional
selective:
boolean
Returns
Button
Static
request
Poll
request
Poll
(
text
:
string
, resize
?:
boolean
, singleUse
?:
boolean
, selective
?:
boolean
)
:
Button
Parameters
text:
string
Optional
resize:
boolean
Optional
singleUse:
boolean
Optional
selective:
boolean
Returns
Button
Static
clear
clear
(
)
:
ReplyKeyboardHide
Returns
ReplyKeyboardHide
Static
force
Reply
force
Reply
(
)
:
ReplyKeyboardForceReply
Returns
ReplyKeyboardForceReply
Constructors
constructor
new
Button
(
button
:
TypeKeyboardButton
, resize
?:
boolean
, singleUse
?:
boolean
, selective
?:
boolean
)
:
Button
Parameters
button:
TypeKeyboardButton
Optional
resize:
boolean
Optional
singleUse:
boolean
Optional
selective:
boolean
Returns
Button
Exports
helpers
password
utils
client
errors
extensions
sessions
Api
tl
custom
Button
button
resize
selective
single
Use
[custom]
constructor
_is
Inline
inline
switch
Inline
url
auth
text
request
Location
request
Phone
request
Poll
clear
force
Reply
Generated using
TypeDoc