BroadcastMessage » 이력 » 버전 12
이름없음, 2021/06/10 06:29
| 1 | 1 | 이름없음 | h1. BroadcastMessage |
|---|---|---|---|
| 2 | 2 | 이름없음 | |
| 3 | 6 | 이름없음 | FCM 푸시 메시지를 전 사용자에게 발송합니다. |
| 4 | |||
| 5 | 11 | 이름없음 | <pre><code class="java"> |
| 6 | 2 | 이름없음 | broadcastMessage( |
| 7 | messageBroadcaseRequest: MessageBroadcaseRequest |
||
| 8 | ): MessageResponse |
||
| 9 | </code></pre> |
||
| 10 | |||
| 11 | 12 | 이름없음 | --- |
| 12 | |||
| 13 | *%{color: #000000;}MessageBroadcaseRequest%* |
||
| 14 | 2 | 이름없음 | |
| 15 | 7 | 이름없음 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | note | |
| 16 | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형% | %{color: #000000;}값: broadcastMessage% | |
||
| 17 | | %{color: #000000;}did% | %{color: #000000;}String% | %{color: #000000;}snplab의 did% | %{color: #000000;} % | |
||
| 18 | | message | %{color: #000000;}String% | 메시지 내용 | | |
||
| 19 | 2 | 이름없음 | |
| 20 | *%{color: #000000;}MessageResponse%* |
||
| 21 | |||
| 22 | 10 | 이름없음 | | %{color: #000000;}field% | %{color: #000000;}type% | %{color: #000000;}description% | %{color: #000000;}note% | |
| 23 | 8 | 이름없음 | | %{color: #000000;}command% | %{color: #000000;}String% | %{color: #000000;}요청 Command 유형% | %{color: #000000;}값: broadcastMessage% | |
| 24 | | %{color: #000000;}result% | %{color: #000000;}String% | %{color: #000000;} % | %{color: #000000;} % | |
||
| 25 | 2 | 이름없음 | |
| 26 | 10 | 이름없음 | --- |
| 27 | 1 | 이름없음 | |
| 28 | 10 | 이름없음 | *%{color: #000000;}Request Example%* |
| 29 | |||
| 30 | 2 | 이름없음 | <pre> |
| 31 | 1 | 이름없음 | mutation{ |
| 32 | 2 | 이름없음 | broadcastMessage(messageBroadcaseRequest:{ |
| 33 | 3 | 이름없음 | command:"broadcastMessage" |
| 34 | did:"NfoPEFaG1adkCpijR85L66" |
||
| 35 | 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\": \"*\"}}}" |
||
| 36 | 2 | 이름없음 | }){ |
| 37 | command |
||
| 38 | 1 | 이름없음 | result |
| 39 | } |
||
| 40 | }</pre> |
||
| 41 | 2 | 이름없음 | |
| 42 | 10 | 이름없음 | *%{color: #000000;}Response Example%* |
| 43 | 3 | 이름없음 | |
| 44 | <pre> |
||
| 45 | { |
||
| 46 | 2 | 이름없음 | "data": { |
| 47 | "broadcastMessage": { |
||
| 48 | "command": "broadcastMessage", |
||
| 49 | 3 | 이름없음 | "result": "projects/myd-ldp-cd19d/messages/5757905970412779996" |
| 50 | 2 | 이름없음 | } |
| 51 | } |
||
| 52 | }</pre> |