Blographer
Blographer
@srajiang ``` def files_upload( self, *, file: Optional[Union[str, bytes, IOBase]] = None, content: Optional[str] = None, filename: Optional[str] = None, filetype: Optional[str] = None, initial_comment: Optional[str] = None, thread_ts: Optional[str]...
@srajiang ``` from slack_sdk import WebClient client = WebClient(SLACK_USER_TOKEN, timeout=7000) filepath = "C:\\test.300mb.mp4" channel_id = "CHANNELID" r = client.files_upload(file=open(filepath, "rb").read(), channels=channel_id) print(r.data) ``` If run the code ``` r =...
@srajiang Thank you for your interest.