After checking the official document, the device_token can not be used for hms_server to send downlink message. If i want to access hms_server, i must request another oauth2 token. Is it mean both the device_token and hms_server_token should be updated all the time, or choice only one like device_token to send downlink message?
URL: https://push-api.cloud.huawei.com/v1/appid/messages:send
Request Header:
Authorization Bear token (need to request from hms_server, the device_token is only used for identify the address of device)