mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-05 19:57:02 +00:00
discord: Document *TextInputComponent in Component, ContainerComponents
This commit is contained in:
parent
0321b9247f
commit
6bf83a4747
|
@ -74,6 +74,7 @@ func (c *ContainerComponents) UnmarshalJSON(b []byte) error {
|
|||
// - *ActionRowComponent
|
||||
// - *ButtonComponent
|
||||
// - *SelectComponent
|
||||
// - *TextInputComponent
|
||||
//
|
||||
type Component interface {
|
||||
// Type returns the type of the underlying component.
|
||||
|
@ -89,6 +90,7 @@ type Component interface {
|
|||
//
|
||||
// - *ButtonComponent
|
||||
// - *SelectComponent
|
||||
// - *TextInputComponent
|
||||
//
|
||||
type InteractiveComponent interface {
|
||||
Component
|
||||
|
|
Loading…
Reference in a new issue