Skip to content

Fix messageType in Messages API SMS Sample - #205

Open
juliacodez wants to merge 1 commit into
Vonage:mainfrom
juliacodez:messages-sms-codesnippet-fix
Open

Fix messageType in Messages API SMS Sample#205
juliacodez wants to merge 1 commit into
Vonage:mainfrom
juliacodez:messages-sms-codesnippet-fix

Conversation

@juliacodez

Copy link
Copy Markdown

The current code snippet for sending an SMS with the Messages API sets messageType to "sms", while the Messages API expects "text".

Description

The current code snippet for sending an SMS with the Messages API sets messageType to "sms", while the Messages API expects "text".

Motivation and Context

The current code snippets for sending an SMS via the Messages API fail.

Applying this change results in working code.

Testing Details

Example Output(if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING.md document.
  • All new and existing tests passed.

The current code snippet sets `messageType` to "sms", while the Messages API expects "text".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant