def __init__(
self,
body: "AioPikaSendableMessage",
*,
headers: Optional["AnyDict"] = None,
correlation_id: Optional[str] = None,
message_id: Optional[str] = None,
mandatory: bool = True,
immediate: bool = False,
timeout: "TimeoutType" = None,
persist: Optional[bool] = None,
priority: Optional[int] = None,
message_type: Optional[str] = None,
content_type: Optional[str] = None,
expiration: Optional["DateType"] = None,
content_encoding: Optional[str] = None,
) -> None:
super().__init__(
body=body,
headers=headers,
correlation_id=correlation_id,
)
self.message_id = message_id
self.mandatory = mandatory
self.immediate = immediate
self.timeout = timeout
self.persist = persist
self.priority = priority
self.message_type = message_type
self.content_type = content_type
self.expiration = expiration
self.content_encoding = content_encoding