Invites a user to a channel.
(
self,
*,
channel: str,
user: str,
**kwargs,
)
| 2518 | return self.api_call("channels.info", http_verb="GET", params=kwargs) |
| 2519 | |
| 2520 | def channels_invite( |
| 2521 | self, |
| 2522 | *, |
| 2523 | channel: str, |
| 2524 | user: str, |
| 2525 | **kwargs, |
| 2526 | ) -> SlackResponse: |
| 2527 | """Invites a user to a channel.""" |
| 2528 | kwargs.update({"channel": channel, "user": user}) |
| 2529 | kwargs = _remove_none_values(kwargs) |
| 2530 | return self.api_call("channels.invite", json=kwargs) |
| 2531 | |
| 2532 | def channels_join( |
| 2533 | self, |
nothing calls this directly
no test coverage detected