teleproto - v1.229.0
GitHub
npm
Issues
Preparing search index...
Api
messages
BotResults
Class BotResults
Hierarchy (
View Summary
)
VirtualClass
<
{
cacheTime
:
int
;
gallery
?:
boolean
;
nextOffset
?:
string
;
queryId
:
long
;
results
:
TypeBotInlineResult
[]
;
switchPm
?:
TypeInlineBotSwitchPM
;
switchWebview
?:
TypeInlineBotWebView
;
users
:
TypeUser
[]
;
}
,
>
BotResults
Index
Constructors
constructor
Methods
from
Reader
serialize
Bytes
serialize
Date
get
Bytes
to
JSON
Properties
class
Name
class
Type
CONSTRUCTOR_
ID
SUBCLASS_
OF_
ID
cache
Time
class
Name
class
Type
CONSTRUCTOR_
ID
gallery?
next
Offset?
original
Args
query
Id
results
SUBCLASS_
OF_
ID
switch
Pm?
switch
Webview?
users
Constructors
constructor
new
BotResults
(
args
:
{
cacheTime
:
number
;
gallery
?:
boolean
;
nextOffset
?:
string
;
queryId
:
BigInteger
;
results
:
TypeBotInlineResult
[]
;
switchPm
?:
InlineBotSwitchPM
;
switchWebview
?:
InlineBotWebView
;
users
:
TypeUser
[]
;
}
,
)
:
BotResults
Parameters
args
:
{
cacheTime
:
number
;
gallery
?:
boolean
;
nextOffset
?:
string
;
queryId
:
BigInteger
;
results
:
TypeBotInlineResult
[]
;
switchPm
?:
InlineBotSwitchPM
;
switchWebview
?:
InlineBotWebView
;
users
:
TypeUser
[]
;
}
Returns
BotResults
Methods
Static
from
Reader
fromReader
(
reader
:
any
)
:
BotResults
Parameters
reader
:
any
Returns
BotResults
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
()
:
{
cacheTime
:
number
;
gallery
?:
boolean
;
nextOffset
?:
string
;
queryId
:
BigInteger
;
results
:
TypeBotInlineResult
[]
;
switchPm
?:
InlineBotSwitchPM
;
switchWebview
?:
InlineBotWebView
;
users
:
TypeUser
[]
;
}
Returns
{
cacheTime
:
number
;
gallery
?:
boolean
;
nextOffset
?:
string
;
queryId
:
BigInteger
;
results
:
TypeBotInlineResult
[]
;
switchPm
?:
InlineBotSwitchPM
;
switchWebview
?:
InlineBotWebView
;
users
:
TypeUser
[]
;
}
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
cache
Time
cacheTime
:
number
class
Name
className
:
"messages.BotResults"
class
Type
classType
:
"constructor"
CONSTRUCTOR_
ID
CONSTRUCTOR_ID
:
3760321270
Optional
gallery
gallery
?:
boolean
Optional
next
Offset
nextOffset
?:
string
original
Args
originalArgs
:
{
cacheTime
:
number
;
gallery
?:
boolean
;
nextOffset
?:
string
;
queryId
:
BigInteger
;
results
:
TypeBotInlineResult
[]
;
switchPm
?:
InlineBotSwitchPM
;
switchWebview
?:
InlineBotWebView
;
users
:
TypeUser
[]
;
}
query
Id
queryId
:
BigInteger
results
results
:
TypeBotInlineResult
[]
SUBCLASS_
OF_
ID
SUBCLASS_OF_ID
:
1054136777
Optional
switch
Pm
switchPm
?:
InlineBotSwitchPM
Optional
switch
Webview
switchWebview
?:
InlineBotWebView
users
users
:
TypeUser
[]
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
cache
Time
class
Name
class
Type
CONSTRUCTOR_
ID
gallery
next
Offset
original
Args
query
Id
results
SUBCLASS_
OF_
ID
switch
Pm
switch
Webview
users
GitHub
npm
Issues
teleproto - v1.229.0
Loading...