I have small dilema on my new bot what I am making.
I have this communication between jackpot server and bot by REST API:
Steam new incoming offer -> bot -> resend to jackpot server for validation -> jackpot server answers accept/decline -> if accept bot send to jackpot accepted offer object -> jackpot server do his work
"if accept bot send to jackpot accepted offer object" - Here I have dilema.. Wait for accept callback, or use receivedOfferChanged event to get callback? I know waiting for callback is littlebit faster but is it 100% correct? Will it catch always? Same question for receivedOfferChanged.
Thanks for help or suggestion how you guys (or Meredith McKey xD) do this kind of bot.