Browse Source

chore: Update message.component doc types

pull/10166/head
DA-344 1 month ago
parent
commit
5a1afb637f
  1. 2
      discord/message.py

2
discord/message.py

@ -488,7 +488,7 @@ class MessageSnapshot:
Extra features of the the message snapshot.
stickers: List[:class:`StickerItem`]
A list of sticker items given to the message.
components: List[Union[:class:`ActionRow`, :class:`Button`, :class:`SelectMenu`]]
components: List[Union[:class:`ActionRow`, :class:`Button`, :class:`SelectMenu`, :class:`Container`, :class:`SectionComponent`, :class:`TextDisplay`, :class:`MediaGalleryComponent`, :class:`FileComponent`, :class:`SeparatorComponent`, :class:`ThumbnailComponent`]]
A list of components in the message.
"""

Loading…
Cancel
Save