PubNubDeliveryMode
Properties
Name | Type | Required | Description |
---|---|---|---|
transport_type | PubNubDeliveryModeTransportType | ✅ | The transport type for this subscription, or the channel by which an app should be notified of an event |
encryption | bool | ✅ | Optional. Specifies if notification messages will be encrypted or not. Please note that for some event filters (e.g. presence) encryption is mandatory and false value provided by caller will be ignored. |
address | str | ✅ | PubNub channel name |
subscriber_key | str | ✅ | PubNub credential required to subscribe to the channel |
secret_key | str | ✅ | PubNub credential required to subscribe to the channel |
encryption_algorithm | EncryptionAlgorithm | ❌ | (Only for a "PubNub" transport, returned only if encryption is true ) Encryption algorithm used |
encryption_key | str | ❌ | (Only for a "PubNub" transport, returned only if encryption is true ) Cryptographic key to decrypt PubNub notification messages |
PubNubDeliveryModeTransportType
The transport type for this subscription, or the channel by which an app should be notified of an event
Properties
Name | Type | Required | Description |
---|---|---|---|
PUBNUB | str | ✅ | "PubNub" |
EncryptionAlgorithm
(Only for a "PubNub" transport, returned only if encryption
is true
) Encryption algorithm used
Properties
Name | Type | Required | Description |
---|---|---|---|
AES | str | ✅ | "AES" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs