A location message to be sent to the contact center.

Hierarchy

  • SendMessage
    • LocationMessage

Constructors

  • Parameters

    • latitude: number

      Latitude of the location.

    • longitude: number

      Longitude of the location.

    • Optionaladdress: string

      Address of the location.

    • Optionalname: string

      Name of the location.

    • OptionalparentMessageId: string

      The unique 36 character internal id for the message that is the parent of this message

    Returns LocationMessage

Methods

  • Returns undefined | string

    Address of the location.

  • Returns number

    Latitude of the location.

  • Returns number

    Longitude of the location.

  • Returns undefined | string

    Name of the location.

  • Returns undefined | string

    The unique 36 character internal id for the message that is the parent of this message.

  • Returns SendMessageElementType

    The type of the message.