C# Send notification to device group with unique custom data FCM
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am aware that I can supply registration_ids to the JSON request to send to multiple devices in the form of string arrays. However, I have a unique token that I want to send to each of those registration_ids . How can I achieve that without simply looping the send request for the number of devices I wish to send to: registration_ids: [1,2,3,4,5] data: { //if id==1, include the necessary token I wish to include. } 回答1: Unfortunately, if you are attempting to send something unique to each user, you'll have to send each unique payload