Protected
_clientProtected
_sourceGets the ID of the poll.
Gets the IDs of the options selected by the user.
Converts the source object to a context object of a given type.
client.updates.on("message", message => {
const user = message.user.toContext<CustomUserContext>();
// Now user works correctly with your context
})
Generic type parameter for the context object.
The context object.
Generated using TypeDoc
User context for the user who changed the answer to the poll.