(interactions): Basic support for modals.
This commit is contained in:
@@ -24,5 +24,17 @@ class ButtonStyle(IntEnum):
|
||||
LINK = 5
|
||||
|
||||
|
||||
class TextInputStyle(IntEnum):
|
||||
SHORT = 1
|
||||
PARAGRAPH = 2
|
||||
|
||||
|
||||
class InteractionCallback(IntEnum):
|
||||
PONG = 1
|
||||
CHANNEL_MESSAGE_WITH_SOURCE = 4
|
||||
DEFERRED_CHANNEL_MESSAGE_WITH_SOURCE = 5
|
||||
DEFERRED_UPDATE_MESSAGE = 6
|
||||
UPDATE_MESSAGE = 7
|
||||
APPLICATION_COMMAND_AUTOCOMPLETE_RESULT = 8
|
||||
MODAL = 9
|
||||
|
||||
|
||||
Reference in New Issue
Block a user