teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
BotInlineResult
Class BotInlineResult
Hierarchy (
View Summary
)
VirtualClass
<
{
content
?:
TypeWebDocument
;
description
?:
string
;
id
:
string
;
sendMessage
:
TypeBotInlineMessage
;
thumb
?:
TypeWebDocument
;
title
?:
string
;
type
:
string
;
url
?:
string
;
}
,
>
BotInlineResult
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
content?
description?
id
original
Args
send
Message
SUBCLASS_
OF_
ID
thumb?
title?
type
url?
Constructors
constructor
new
BotInlineResult
(
args
:
{
content
?:
TypeWebDocument
;
description
?:
string
;
id
:
string
;
sendMessage
:
TypeBotInlineMessage
;
thumb
?:
TypeWebDocument
;
title
?:
string
;
type
:
string
;
url
?:
string
;
}
,
)
:
BotInlineResult
Parameters
args
:
{
content
?:
TypeWebDocument
;
description
?:
string
;
id
:
string
;
sendMessage
:
TypeBotInlineMessage
;
thumb
?:
TypeWebDocument
;
title
?:
string
;
type
:
string
;
url
?:
string
;
}
Returns
BotInlineResult
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
BotInlineResult
Parameters
reader
:
any
Returns
BotInlineResult
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
()
:
{
content
?:
TypeWebDocument
;
description
?:
string
;
id
:
string
;
sendMessage
:
TypeBotInlineMessage
;
thumb
?:
TypeWebDocument
;
title
?:
string
;
type
:
string
;
url
?:
string
;
}
Returns
{
content
?:
TypeWebDocument
;
description
?:
string
;
id
:
string
;
sendMessage
:
TypeBotInlineMessage
;
thumb
?:
TypeWebDocument
;
title
?:
string
;
type
:
string
;
url
?:
string
;
}
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
:
"BotInlineResult"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
295067450
Optional
content
content
?:
TypeWebDocument
Optional
description
description
?:
string
id
id
:
string
original
Args
originalArgs
:
{
content
?:
TypeWebDocument
;
description
?:
string
;
id
:
string
;
sendMessage
:
TypeBotInlineMessage
;
thumb
?:
TypeWebDocument
;
title
?:
string
;
type
:
string
;
url
?:
string
;
}
send
Message
sendMessage
:
TypeBotInlineMessage
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
942846933
Optional
thumb
thumb
?:
TypeWebDocument
Optional
title
title
?:
string
type
type
:
string
Optional
url
url
?:
string
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
content
description
id
original
Args
send
Message
SUBCLASS_
OF_
ID
thumb
title
type
url
GitHub
npm
Issues
teleproto - v1.229.0
Loading...