Get a list of available 'send' groups, including 'merge' groups - pre-defined groups containing a list of mobile numbers to send a message to.
Also lists 'stop' groups - numbers in these groups will never be sent messages. Every account has at least one stop group, so that your recipients can always opt out of receiving messages from you. This is a legal requirement.
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Hashtable[] result = tmClient.getGroups(); foreach (Hashtable group in result) { Console.WriteLine("Group ID: {0}", group["id"]); Console.WriteLine("Group numbers: {0}", group[""]); Console.WriteLine("Group name: {0}", group["name"]); Console.WriteLine("Group IS STOP: {0}", group["is_stop"]); } |
Arguments: