teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
KeyboardInlineButton
Class KeyboardInlineButton
Hierarchy (
View Summary
)
VirtualClass
<
{
style
?:
TypeKeyboardButtonStyle
;
text
:
string
;
type
:
TypeInlineButtonType
;
}
,
>
KeyboardInlineButton
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
style?
SUBCLASS_
OF_
ID
text
type
Constructors
constructor
new
KeyboardInlineButton
(
args
:
{
style
?:
KeyboardButtonStyle
;
text
:
string
;
type
:
TypeInlineButtonType
;
}
,
)
:
KeyboardInlineButton
Parameters
args
:
{
style
?:
KeyboardButtonStyle
;
text
:
string
;
type
:
TypeInlineButtonType
}
Returns
KeyboardInlineButton
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
KeyboardInlineButton
Parameters
reader
:
any
Returns
KeyboardInlineButton
Static
serialize
Bytes
serializeBytes
(
data
:
string
|
Buffer
<
ArrayBufferLike
>
)
:
Buffer
Parameters
data
:
string
|
Buffer
<
ArrayBufferLike
>
Returns
Buffer
Static
serialize
Date
serializeDate
(
date
:
number
|
Date
)
:
Buffer
Parameters
date
:
number
|
Date
Returns
Buffer
get
Bytes
getBytes
()
:
Buffer
Returns
Buffer
to
JSON
toJSON
()
:
{
style
?:
KeyboardButtonStyle
;
text
:
string
;
type
:
TypeInlineButtonType
;
}
Returns
{
style
?:
KeyboardButtonStyle
;
text
:
string
;
type
:
TypeInlineButtonType
}
Properties
Static
class
Name
className
:
string
Static
class
Type
classType
:
"constructor"
|
"request"
Static
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
number
Static
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
number
class
Name
className
:
"KeyboardInlineButton"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
297902882
original
Args
originalArgs
:
{
style
?:
KeyboardButtonStyle
;
text
:
string
;
type
:
TypeInlineButtonType
;
}
Optional
style
style
?:
KeyboardButtonStyle
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1178236322
text
text
:
string
type
type
:
TypeInlineButtonType
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
class
Name
class
Type
CONSTRUCTOR_
ID
original
Args
style
SUBCLASS_
OF_
ID
text
type
GitHub
npm
Issues
teleproto - v1.229.0
Loading...