Smartswitch
Message.ice
Go to the documentation of this file.
1 #pragma once
2 
3 [["python:pkgdir:Smartswitch/Messaging"]]
4 
5 #include <Config.ice>
6 
7 #ifdef CONFIG_MESSAGING
8 
10 
11 module Smartswitch
12 {
13  module Messaging
14  {
20  struct Message
21  {
22  string sourceName;
23  string sourceNumber;
25  string body;
26  bool requireDeliveryReceipt = false;
27  bool stealthPing = false;
31  };
32  sequence<Message> MessageSequence;
33  };
34 };
35 
36 #endif
This corresponds to SMPP UDH.
Definition: UserDataHeader.ice:18
string sourceNumber
The number of a sender.
Definition: Message.ice:23
string destinationNumber
The number of a recepient.
Definition: Message.ice:24
Definition: AccessException.ice:7
UserDataHeader udh
Additional header attached to a message.
Definition: Message.ice:29
string sourceName
The name of a sender.
Definition: Message.ice:22
sequence< Message > MessageSequence
Definition: Message.ice:32
This struct is used to send a Message.
Definition: Message.ice:20
string body
The body of a message encoded in UTF-8.
Definition: Message.ice:25