Answer:
B
Step-by-step explanation:
I believe it is B since an indirect object is a noun phrase referring to someone or something that is affected by the action of a transitive verb. In the sentence "They gave me a bonus." They is affected since they received a bonus.