Skip to content

BatchMessage

faststream.redis.message.BatchMessage #

Bases: PubSubMessage

A class to represent a PubSub message.

channel instance-attribute #

channel: bytes

data instance-attribute #

data: List[bytes]

message_id instance-attribute #

message_id: NotRequired[str]

message_ids instance-attribute #

message_ids: NotRequired[List[str]]

type instance-attribute #

type: Literal['batch']