Protected _clientProtected _sourceReturns a boolean indicating whether the owner is anonymous.
true if the owner is anonymous, false otherwise.
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
Returns the custom title of the owner.