Protected
_clientProtected
_sourceThe date when the join request was sent.
The invite link used to send the join request. Undefined if no invite link was used.
The user who sent the join request.
Returns the user's bio.
Returns the ID of the user in the chat.
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
The chat the join request was sent to.