Skip to content

PubSubMessage

faststream.redis.message.PubSubMessage #

Bases: TypedDict

A class to represent a PubSub message.

channel instance-attribute #

channel: bytes

data instance-attribute #

data: Union[bytes, List[bytes]]

message_id instance-attribute #

message_id: NotRequired[str]

message_ids instance-attribute #

message_ids: NotRequired[List[str]]

type instance-attribute #

type: str