Arguments#
The key of the hash.
The field(s) to retrieve the TTL for.
Response#
number[]required
The remaining TTL in seconds for each field.
-2if the field does not exist in the hash or if the key doesn't exist.-1if the field exists but has no associated expiration.
For more details, see HTTL documentation.