1
0
Fork 0
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:
diamondburned 2022-08-14 21:48:37 -07:00
parent 0321b9247f
commit 6bf83a4747
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -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