Skip to content
Discussion options

You must be logged in to vote

발송 API(Node.js SDK 기준 send 메소드)에서 messageId 확인은 아래 코드 형태로 확인하실 수 있습니다.

messageService
  .send(
    [
      {
        to: '수신번호',
        from: '계정에서 등록한 발신번호 입력',
        text: '한글 45자, 영자 90자 이하 입력되면 자동으로 SMS타입의 메시지가 발송됩니다.',
      },
    ],
    {
      showMessageList: true,
    },
  )
  .then(res => console.log(res));

  // res.messageList 로 확인 가능, https://github.com/solapi/solapi-nodejs/blob/1f0a606f8bc82ad8fdb4ab459cbb20b2f027ce08/src/responses/sendManyDetailResponse.ts#L45 참고

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@whathecker
Comment options

@Palbahngmiyine
Comment options

Answer selected by Palbahngmiyine
@whathecker
Comment options

@Palbahngmiyine
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed Node.js relevants on Node.js
2 participants