@japofc/baileys - v2.4.7
GitHub
npm
Preparing search index...
proto
TemplateButton
URLButton
Class URLButton
Implements
IURLButton
Index
Constructors
constructor
Properties
display
Text?
url?
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
Constructors
constructor
new
URLButton
(
p
?:
IURLButton
)
:
URLButton
Parameters
Optional
p
:
IURLButton
Returns
URLButton
Properties
Optional
display
Text
displayText
?:
IHighlyStructuredMessage
|
null
Optional
url
url
?:
IHighlyStructuredMessage
|
null
Methods
to
JSON
toJSON
()
:
{
[
k
:
string
]:
any
}
Returns
{
[
k
:
string
]:
any
}
Static
create
create
(
properties
?:
IURLButton
)
:
URLButton
Parameters
Optional
properties
:
IURLButton
Returns
URLButton
Static
decode
decode
(
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
,
l
?:
number
)
:
URLButton
Parameters
r
:
Reader
|
Uint8Array
<
ArrayBufferLike
>
Optional
l
:
number
Returns
URLButton
Static
encode
encode
(
m
:
IURLButton
,
w
?:
Writer
)
:
Writer
Parameters
m
:
IURLButton
Optional
w
:
Writer
Returns
Writer
Static
from
Object
fromObject
(
d
:
{
[
k
:
string
]:
any
}
)
:
URLButton
Parameters
d
:
{
[
k
:
string
]:
any
}
Returns
URLButton
Static
get
Type
Url
getTypeUrl
(
typeUrlPrefix
?:
string
)
:
string
Parameters
Optional
typeUrlPrefix
:
string
Returns
string
Static
to
Object
toObject
(
m
:
URLButton
,
o
?:
IConversionOptions
)
:
{
[
k
:
string
]:
any
}
Parameters
m
:
URLButton
Optional
o
:
IConversionOptions
Returns
{
[
k
:
string
]:
any
}
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
display
Text
url
Methods
to
JSON
create
decode
encode
from
Object
get
Type
Url
to
Object
GitHub
npm
@japofc/baileys - v2.4.7
Loading...