slack_transfer.functions.common.get_file_volumes#
- slack_transfer.functions.common.get_file_volumes(client: WebClient, channel_ids: Optional[Union[str, List[str]]] = None, auto_join: bool = False) float[source]#
Calculate the total file volumes (bytes)
- Parameters:
client (WebClient) – client. If use this via any Client Class, self is automatically set. Thus, ignore this.
channel_ids (Optional; str or List[str]; default=None) – channel id list for calculation. If not set, calculate all accessible channels.
auto_join (bool; default=False) – when bot is not in channel, automatically join if possible (public channel). This feature is disabled for
slack_transfer._base.CommonDryRunClient
- Yields:
float – total file volumes (bytes)