|
|
|
@ -1282,7 +1282,7 @@ class GuildChannel: |
|
|
|
target_type: Optional[InviteTarget] = None, |
|
|
|
target_user: Optional[User] = None, |
|
|
|
target_application_id: Optional[int] = None, |
|
|
|
target_role_ids: Optional[List[int]] = None, |
|
|
|
target_role_ids: Optional[Sequence[Snowflake]] = None, |
|
|
|
guest: bool = False, |
|
|
|
) -> Invite: |
|
|
|
"""|coro| |
|
|
|
@ -1322,7 +1322,7 @@ class GuildChannel: |
|
|
|
The id of the embedded application for the invite, required if ``target_type`` is :attr:`.InviteTarget.embedded_application`. |
|
|
|
|
|
|
|
.. versionadded:: 2.0 |
|
|
|
target_role_ids: Optional[List[:class:`int`]] |
|
|
|
target_role_ids: Optional[Sequence[:class:`abc.Snowflake`]] |
|
|
|
A list of role IDs to assign to the user upon accepting this invite. |
|
|
|
|
|
|
|
guest: :class:`bool` |
|
|
|
|