GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — node-sdk/docs/MessageRequest.md at main · Bandwidth/node-sdk

Expand file tree

/

MessageRequest.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
34 lines (27 loc) · 2.04 KB
/

MessageRequest.md

Copy path

File metadata and controls

34 lines (27 loc) · 2.04 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

MessageRequest

Properties

Name Type Description Notes
applicationId string The ID of the Application your from number or senderId is associated with in the Bandwidth App. [default to undefined]
to Set<string> The phone number(s) the message should be sent to in E164 format. [default to undefined]
from string Either an alphanumeric sender ID or the sender&#39;s Bandwidth phone number in E.164 format, which must be hosted within Bandwidth and linked to the account that is generating the message. Alphanumeric Sender IDs can contain up to 11 characters, upper-case letters A-Z, lower-case letters a-z, numbers 0-9, space, hyphen -, plus +, underscore _ and ampersand &. Alphanumeric Sender IDs must contain at least one letter. [default to undefined]
text string The contents of the text message. Must be 2048 characters or less. [optional] [default to undefined]
media Array<string> A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters. [optional] [default to undefined]
tag string A custom string that will be included in callback events of the message. Max 1024 characters. [optional] [default to undefined]
priority PriorityEnum [optional] [default to undefined]
expiration string A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. [optional] [default to undefined]

Example

import { MessageRequest } from 'bandwidth-sdk';

const instance: MessageRequest = {
    applicationId,
    to,
    from,
    text,
    media,
    tag,
    priority,
    expiration,
};

[Back to Model list] [Back to API list] [Back to README]

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.