@wildix/xbees-conversations-client > PinMessageInput > expiresAfter
PinMessageInput.expiresAfter property
The duration in seconds after which the pinned message will be automatically unpinned. If neither expiresAfter nor expiresAt is provided, the message will remain pinned indefinitely. Providing both expiresAfter and expiresAt will result in a validation error.
Signature:
expiresAfter?: number | undefined;