Jump to content
McKay Development

Recommended Posts

Posted

Any specific format this date object needs to be in?
I was to set "cancelTime": 5*60*1000
Also I tried doing it manually by passing a date object set 5 minutes in the future (my timezone is GBT+3).
After sending the offer and fetching offer.expires the time is correct but 14 days in the future.

Any ideas what might cause this?

Posted (edited)

cancelTime - Optional. The time, in milliseconds, that a sent offer can remain Active until it's automatically canceled by the manager. This feature is disabled if omitted. Note that this check is performed on polling, so it will only work as expected if timed polling is enabled. Also note that because polling is on a timer, offers will be canceled between cancelTime and cancelTime + pollInterval

Edited by Andrew
Posted

There might be some confusion here. The expires property is Steam's expiration date, which is always 14 days from creation time and can't be changed. cancelTime works independently of it.

Thanks a lot for explaining that.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...