We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 210ba85 commit 0fda232Copy full SHA for 0fda232
1 file changed
examples/javascript/common/src/rcs/send_rcs.js
@@ -130,3 +130,29 @@ messageService
130
},
131
)
132
.then(res => console.log(res));
133
+
134
+// RCS 발송 실패 시 일반 문자로 대체 발송하는 예제
135
+messageService
136
+ .send({
137
+ to: '수신번호',
138
+ from: '계정에서 등록한 RCS용 발신번호 입력',
139
+ text: '한글 45자, 영자 90자 이하 입력되면 자동으로 SMS타입의 메시지가 발송됩니다.',
140
+ rcsOptions: {
141
+ brandId: 'RCS 브랜드의 아이디',
142
+ buttons: [
143
+ {
144
+ buttonType: 'WL',
145
+ buttonName: '웹링크 버튼',
146
+ link: 'https://으로 시작하는 웹링크 주소',
147
+ }
148
+ ],
149
+ },
150
+ replacements: [
151
152
153
+ from: '계정에서 등록한 발신번호 입력',
154
+ text: 'RCS 발송 실패 시 대체 발송될 문자 내용',
155
156
157
+ })
158
+ .then(res => console.log(res));
0 commit comments