TelegramBotAPI
common
tgbotapi.core
/
dev.inmo.tgbotapi.requests.send.media
/
SendPhotoData
Send
Photo
Data
@
Serializable
data
class
SendPhotoData
:
DataRequest
<
ContentMessage
<
PhotoContent
>
>
,
SendMessageRequest
<
ContentMessage
<
PhotoContent
>
>
,
ReplyingMarkupSendMessageRequest
<
ContentMessage
<
PhotoContent
>
>
,
TextableSendMessageRequest
<
ContentMessage
<
PhotoContent
>
>
,
OptionallyWithSpoilerRequest
Members
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
allow
Sending
Without
Reply
Link copied to clipboard
open
override
val
allowSendingWithoutReply
:
Boolean
?
=
null
chat
Id
Link copied to clipboard
open
override
val
chatId
:
ChatIdentifier
disable
Notification
Link copied to clipboard
open
override
val
disableNotification
:
Boolean
=
false
entities
Link copied to clipboard
open
val
entities
:
List
<
TextSource
>
?
parse
Mode
Link copied to clipboard
open
override
val
parseMode
:
ParseMode
?
=
null
photo
Link copied to clipboard
val
photo
:
String
?
=
null
protect
Content
Link copied to clipboard
open
override
val
protectContent
:
Boolean
=
false
reply
Markup
Link copied to clipboard
open
override
val
replyMarkup
:
KeyboardMarkup
?
=
null
reply
To
Message
Id
Link copied to clipboard
open
override
val
replyToMessageId
:
MessageId
?
=
null
request
Serializer
Link copied to clipboard
open
override
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
ContentMessage
<
PhotoContent
>
>
spoilered
Link copied to clipboard
open
override
val
spoilered
:
Boolean
=
false
text
Link copied to clipboard
open
override
val
text
:
String
?
=
null
text
Sources
Link copied to clipboard
open
override
val
textSources
:
TextSourcesList
?
Full list of TextSources
thread
Id
Link copied to clipboard
open
override
val
threadId
:
MessageThreadId
?