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 */
3839class 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