to_payload#

SubscribeCommand.to_payload()#

Serialize the command to a WebSocket payload dict.

Return type:

dict[str, Any]