toggle menu
Telegram Bot
7.5.0
common
switch theme
search in API
Telegram Bot
/
eu.vendeli.tgbot.types.internal
/
PollAnswerUpdate
Poll
Answer
Update
@
Serializable
(
with
=
PollAnswerUpdate.Companion::class
)
data
class
PollAnswerUpdate
(
val
updateId
:
Int
,
val
origin
:
Update
,
val
pollAnswer
:
PollAnswer
)
:
ProcessedUpdate
,
UserReference
Members
Members & Extensions
Constructors
Poll
Answer
Update
Link copied to clipboard
constructor
(
updateId
:
Int
,
origin
:
Update
,
pollAnswer
:
PollAnswer
)
Properties
origin
Link copied to clipboard
open
override
val
origin
:
Update
poll
Answer
Link copied to clipboard
val
pollAnswer
:
PollAnswer
text
Link copied to clipboard
open
val
text
:
String
update
Id
Link copied to clipboard
open
override
val
updateId
:
Int
user
Link copied to clipboard
open
override
val
user
:
User
?
user
Or
Null
Link copied to clipboard
val
ProcessedUpdate
.
userOrNull
:
User
?
Functions
get
User
Link copied to clipboard
inline
fun
ProcessedUpdate
.
getUser
(
)
:
User