Stops a streaming conversation. https://docs.slack.dev/reference/methods/chat.stopStream
(
self,
*,
channel: str,
ts: str,
markdown_text: Optional[str] = None,
blocks: Optional[Union[str, Sequence[Union[Dict, Block]]]] = None,
metadata: Optional[Union[Dict, Metadata]] = None,
chunks: Optional[Sequence[Union[Dict, Chunk]]] = None,
**kwargs,
)
| 2933 | return self.api_call("chat.startStream", json=kwargs) |
| 2934 | |
| 2935 | def chat_stopStream( |
| 2936 | self, |
| 2937 | *, |
| 2938 | channel: str, |
| 2939 | ts: str, |
| 2940 | markdown_text: Optional[str] = None, |
| 2941 | blocks: Optional[Union[str, Sequence[Union[Dict, Block]]]] = None, |
| 2942 | metadata: Optional[Union[Dict, Metadata]] = None, |
| 2943 | chunks: Optional[Sequence[Union[Dict, Chunk]]] = None, |
| 2944 | **kwargs, |
| 2945 | ) -> SlackResponse: |
| 2946 | """Stops a streaming conversation. |
| 2947 | https://docs.slack.dev/reference/methods/chat.stopStream |
| 2948 | """ |
| 2949 | kwargs.update( |
| 2950 | { |
| 2951 | "channel": channel, |
| 2952 | "ts": ts, |
| 2953 | "markdown_text": markdown_text, |
| 2954 | "blocks": blocks, |
| 2955 | "metadata": metadata, |
| 2956 | "chunks": chunks, |
| 2957 | } |
| 2958 | ) |
| 2959 | _parse_web_class_objects(kwargs) |
| 2960 | kwargs = _remove_none_values(kwargs) |
| 2961 | return self.api_call("chat.stopStream", json=kwargs) |
| 2962 | |
| 2963 | def chat_stream( |
| 2964 | self, |
no test coverage detected