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