Use ClaimEventAction or ClaimEventActionUsingItem to claim specific event actions. Both methods await responses (*protocol.CMsgDOTAClaimEventActionResponse and *protocol.CMsgClientToGCClaimEventActionUsingItemResponse respectively).
func (d *Dota2) ClaimEventAction(
ctx context.Context,
eventID uint32,
actionID uint32,
quantity uint32,
data protocol.CMsgDOTAClaimEventActionData,
scoreMode protocol.EEventActionScoreMode,
suppressRewards bool,
) (*protocol.CMsgDOTAClaimEventActionResponse, error)
func (d *Dota2) ClaimEventActionUsingItem(
ctx context.Context,
eventID uint32,
actionID uint32,
itemID uint64,
quantity uint32,
suppressRewards bool,
) (*protocol.CMsgClientToGCClaimEventActionUsingItemResponse, error)