Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit c2f8d12

Browse files
committed
add app_permissions
1 parent 5bb4516 commit c2f8d12

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

src/Discord/Parts/Interaction.php

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,20 @@
2121
*
2222
* @see https://discord.com/developers/docs/interactions/receiving-and-responding#interactions
2323
*
24-
* @property string $id ID of the interaction.
25-
* @property string $application_id ID of the application the interaction is for.
26-
* @property int $type Type of interaction.
27-
* @property array|null $data Data associated with the interaction.
28-
* @property string|null $guild_id ID of the guild the interaction was sent from.
29-
* @property string|null $channel_id ID of the channel the interaction was sent from.
30-
* @property array|null $member Member who invoked the interaction.
31-
* @property array|null $user User who invoked the interaction.
32-
* @property string $token Continuation token for responding to the interaction.
33-
* @property int $version Version of interaction.
34-
* @property array|null $message Message that triggered the interactions, when triggered from message components.
35-
* @property string|null $locale The selected language of the invoking user.
36-
* @property string|null $guild_locale The guild's preferred locale, if invoked in a guild.
24+
* @property string $id ID of the interaction.
25+
* @property string $application_id ID of the application the interaction is for.
26+
* @property int $type Type of interaction.
27+
* @property object|null $data Data associated with the interaction.
28+
* @property string|null $guild_id ID of the guild the interaction was sent from.
29+
* @property string|null $channel_id ID of the channel the interaction was sent from.
30+
* @property object|null $member Member who invoked the interaction.
31+
* @property object|null $user User who invoked the interaction.
32+
* @property string $token Continuation token for responding to the interaction.
33+
* @property int $version Version of interaction.
34+
* @property object|null $message Message that triggered the interactions, when triggered from message components.
35+
* @property string|null $app_permissions Bitwise set of permissions the app or bot has within the channel the interaction was sent from.
36+
* @property string|null $locale The selected language of the invoking user.
37+
* @property string|null $guild_locale The guild's preferred locale, if invoked in a guild.
3738
*/
3839
class Interaction extends Part
3940
{
@@ -52,6 +53,7 @@ class Interaction extends Part
5253
'token',
5354
'version',
5455
'message',
56+
'app_permissions',
5557
'locale',
5658
'guild_locale',
5759
];

0 commit comments

Comments
 (0)