docs
4.0.0
common
docs
/
dev.inmo.tgbotapi.requests.send.polls
/
SendPoll
Send
Poll
sealed
class
SendPoll
:
SendMessageRequest
<
ContentMessage
<
PollContent
>
>
,
ReplyingMarkupSendMessageRequest
<
ContentMessage
<
PollContent
>
>
Functions
Properties
Inheritors
Functions
method
Link copied to clipboard
open
override
fun
method
(
)
:
String
Properties
allow
Sending
Without
Reply
Link copied to clipboard
abstract
val
allowSendingWithoutReply
:
Boolean
?
chat
Id
Link copied to clipboard
abstract
override
val
chatId
:
ChatIdentifier
close
Info
Link copied to clipboard
open
val
closeInfo
:
ScheduledCloseInfo
?
disable
Notification
Link copied to clipboard
abstract
val
disableNotification
:
Boolean
is
Anonymous
Link copied to clipboard
abstract
val
isAnonymous
:
Boolean
is
Closed
Link copied to clipboard
abstract
val
isClosed
:
Boolean
options
Link copied to clipboard
abstract
val
options
:
List
<
String
>
protect
Content
Link copied to clipboard
abstract
val
protectContent
:
Boolean
question
Link copied to clipboard
abstract
val
question
:
String
reply
Markup
Link copied to clipboard
abstract
val
replyMarkup
:
KeyboardMarkup
?
reply
To
Message
Id
Link copied to clipboard
abstract
val
replyToMessageId
:
MessageId
?
request
Serializer
Link copied to clipboard
abstract
val
requestSerializer
:
SerializationStrategy
<
*
>
result
Deserializer
Link copied to clipboard
open
override
val
resultDeserializer
:
DeserializationStrategy
<
ContentMessage
<
PollContent
>
>
thread
Id
Link copied to clipboard
abstract
val
threadId
:
MessageThreadId
?
type
Link copied to clipboard
abstract
val
type
:
String
Inheritors
SendRegularPoll
Link copied to clipboard
SendQuizPoll
Link copied to clipboard