Protected
_clientProtected
_sourceThe date and time when the chat invite link will expire, or undefined
if it does not expire.
Whether the chat invite link creates a join request for users who follow it.
Whether the chat invite link is the primary invite link for the chat.
Whether the chat invite link has been revoked.
The chat invite link.
The maximum number of members that can join the chat using the chat invite link.
The number of users who have pending join requests for the chat.
Edits the chat invite link.
Revokes the chat invite link.
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 user who created the chat invite link.