recipient_type Property
This property contains the type of a particular recipient.
Syntax
def get_recipient_type(recipient_index: int) -> int: ... def set_recipient_type(recipient_index: int, value: int) -> None: ...
Default Value
0
Remarks
This property contains the type of a particular recipient. This property is used only for multiple recipient messages. The recipient_address contains the corresponding recipient's address.
For a recipient type of normal, the value in recipient_address should be either the dotted IPv4 of an SMS-enabled device or the directory number of a target mobile phone. For distributed lists, the value should be the name of the list as it is stored on the smpp_server.
Valid values for RecipientType are:
0 (smppRecipientTypeNormal) | Normal SME (Short Message Entity) Address |
1 (smppRecipientTypeList) | Distribution List |
The recipient_index parameter specifies the index of the item in the array. The size of the array is controlled by the recipient_count property.