Skip to content

AnyRedisDict

faststream.redis.message.AnyRedisDict #

Bases: PubSubMessage

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]]

pattern instance-attribute #

pattern: NotRequired[Optional[bytes]]

type instance-attribute #

type: Literal['stream', 'list', 'message', 'batch']