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