1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
use crateId;
use crate;
/// User filled in String Select.
///
/// See [Discord Docs/String Select Interaction Response Structure].
///
/// [Discord Docs/String Select Interaction Response Structure]: https://discord.com/developers/docs/components/reference#string-select-string-select-interaction-response-structure
pub type ModalInteractionStringSelect = ;
/// User filled in User Select.
///
/// See [Discord Docs/User Select Interaction Response Structure].
///
/// [Discord Docs/User Select Interaction Response Structure]: https://discord.com/developers/docs/components/reference#user-select-user-select-interaction-response-structure
pub type ModalInteractionUserSelect = ;
/// User filled in Role Select.
///
/// See [Discord Docs/Role Select Interaction Response Structure].
///
/// [Discord Docs/Role Select Interaction Response Structure]: https://discord.com/developers/docs/components/reference#role-select-role-select-interaction-response-structure
pub type ModalInteractionRoleSelect = ;
/// User filled in Mentionable Select.
///
/// See [Discord Docs/Mentionable Select Interaction Response Structure].
///
/// [Discord Docs/Mentionable Select Interaction Response Structure]: https://discord.com/developers/docs/components/reference#mentionable-select-mentionable-select-interaction-response-structure
pub type ModalInteractionMentionableSelect = ;
/// User filled in Channel Select.
///
/// See [Discord Docs/Channel Select Interaction Response Structure].
///
/// [Discord Docs/Channel Select Interaction Response Structure]: https://discord.com/developers/docs/components/reference#channel-select-channel-select-interaction-response-structure
pub type ModalInteractionChannelSelect = ;
/// User filled in [`SelectMenu`].
///
/// The `ValueType` generic parameter defines the type of the selected value
/// (e.g. text, user id, etc.).
/// See also [`ModalInteractionStringSelect`], [`ModalInteractionUserSelect`],
/// [`ModalInteractionRoleSelect`], [`ModalInteractionMentionableSelect`],
/// and [`ModalInteractionChannelSelect`].
///
/// [`SelectMenu`]: crate::channel::message::component::SelectMenu