Description

class MessageInitiatorBatch(dict):
 
    def __init__(self, batch_id: str, instance_id: int, size: int,
                 firebase_uuid: Optional[str] = None, firebase_id: Optional[int] = None,
                 apns_uuid: Optional[str] = None, interval_seconds: Optional[int] = None,
                 sender_id: Optional[int] = None, messages_per_user: int = 1):
        self.batch_id = batch_id
        self.instance_id = instance_id
        self.size = size
        self.firebase_uuid = firebase_uuid
        self.firebase_id = firebase_id
        self.sender_id = sender_id
        self.apns_uuid = apns_uuid
        self.interval_seconds = interval_seconds
        self.messages_per_user = messages_per_user
        super(MessageInitiatorBatch, self).__init__(**self.__dict__)

This message contains all necessary information about the batch of messages that should be sent to users. Such information includes the size of the batch, it’s particular ordering instance ID (to target a certain group of users to be included in the batch), firebase or APNS UUIDs, etc.

  • occurrences: