I have checked the source for SteamBot but I don't seem to understand it very well due to that I am a new coder. If someone could help me, it would be great! Thanks in advance.
I found a way on SteamBot (https://github.com/Jessecar96/SteamBot/blob/master/SteamTrade/TradeOffer/OfferSession.cs#L30)
But I don't seem to understand it.
Heres something that could help (https://www.reddit.com/r/SteamBot/comments/3a6rp6/who_to_accept_traiding_offers_with_c_steam/.compact)