MCPcopy
hub / github.com/Rapptz/discord.py / start_group

Method start_group

discord/http.py:858–863  ·  view source on GitHub ↗
(self, user_id: Snowflake, recipients: List[int])

Source from the content-addressed store, hash-verified

856 # Group functionality
857
858 def start_group(self, user_id: Snowflake, recipients: List[int]) -> Response[channel.GroupDMChannel]:
859 payload = {
860 'recipients': recipients,
861 }
862
863 return self.request(Route('POST', '/users/{user_id}/channels', user_id=user_id), json=payload)
864
865 def leave_group(self, channel_id: Snowflake) -> Response[None]:
866 return self.request(Route('DELETE', '/channels/{channel_id}', channel_id=channel_id))

Callers

nothing calls this directly

Calls 2

requestMethod · 0.95
RouteClass · 0.85

Tested by

no test coverage detected