TargetMessage » 이력 » 버전 7
이름없음, 2021/06/10 06:31
1 | 1 | 이름없음 | h1. TargetMessage |
---|---|---|---|
2 | 2 | 이름없음 | |
3 | 4 | 이름없음 | 수신 대상에게만 FCM 푸시 메시지를 발송합니다. |
4 | |||
5 | 6 | 이름없음 | <pre><code class="java"> |
6 | 2 | 이름없음 | targetMessage( |
7 | messageTargetRequest: MessageTargetRequest |
||
8 | ): MessageResponse |
||
9 | </code></pre> |
||
10 | 1 | 이름없음 | |
11 | 7 | 이름없음 | --- |
12 | |||
13 | 1 | 이름없음 | *%{color: #000000;}MessageTargetRequest%* |
14 | 2 | 이름없음 | |
15 | 6 | 이름없음 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | %{color: #000000;}note% | |
16 | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형% | %{color: #000000;}값: targetMessage%<notextile></notextile> | |
||
17 | 5 | 이름없음 | | %{color: #000000;}did% | %{color: #000000;}String% | %{color: #000000;}snplab의 did% | %{color: #000000;} % | |
18 | 1 | 이름없음 | | message | %{color: #000000;}String% | 메시지 내용 | | |
19 | 5 | 이름없음 | | target | %{color: #000000;}String% | 메시지 수신 대상 | | |
20 | 2 | 이름없음 | |
21 | 1 | 이름없음 | *%{color: #000000;}MessageResponse%* |
22 | 2 | 이름없음 | |
23 | 6 | 이름없음 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | note | |
24 | 2 | 이름없음 | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청Command 유형% | %{color: #000000;}값: targetMessage% | |
25 | 5 | 이름없음 | | %{color: #000000;}result% | %{color: #000000;}String% | %{color: #000000;} % | %{color: #000000;} % | |
26 | |||
27 | 6 | 이름없음 | --- |
28 | 2 | 이름없음 | |
29 | 6 | 이름없음 | *%{color: #000000;}Request Example%* |
30 | |||
31 | 2 | 이름없음 | <pre> |
32 | mutation{ |
||
33 | targetMessage(messageTargetRequest:{ |
||
34 | did:"NfoPEFaG1adkCpijR85L66" |
||
35 | command:"targetMessage" |
||
36 | target:"did:NfoPEFaG1adkCpijR85L66" |
||
37 | message:"{\"data\": {\"Command\": 0,\"Notification\": {\"Title\": \"타이틀\",\"Content\": \"상세 메시지\",\"OnGoing\": false,\"Priority\": 0,\"ImageUrl\": \"https://\",\"ShowBadge\": false},\"MoveTo\": 0,\"AppUpdate\": {\"TargetVersion\": 21010601,\"IsMandatory\": true},\"DataUpdate\": {\"Target\": 0},\"DataCollect\": {\"Type\": 1,\"ProposalID\": \"*\"}}}" |
||
38 | }){ |
||
39 | command |
||
40 | result |
||
41 | } |
||
42 | }</pre> |
||
43 | |||
44 | 6 | 이름없음 | *Response Example* |
45 | 2 | 이름없음 | 예시 없음 |