Skip to content

Commit bd9c0de

Browse files
authored
feat: add total_message_sent to Channel (#956)
1 parent f756fb4 commit bd9c0de

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interactions/api/models/channel.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ class Channel(ClientSerializerMixin, IDMixin):
129129
:ivar Optional[ThreadMember] member?: The member of the thread in the channel.
130130
:ivar Optional[int] default_auto_archive_duration?: The set auto-archive time for all threads to naturally follow in the channel.
131131
:ivar Optional[str] permissions?: The permissions of the channel.
132+
:ivar Optional[int] flags?: The flags of the channel.
133+
:ivar Optional[int] total_message_sent?: Number of messages ever sent in a thread.
132134
"""
133135

134136
__slots__ = (
@@ -166,6 +168,7 @@ class Channel(ClientSerializerMixin, IDMixin):
166168
default_auto_archive_duration: Optional[int] = field(default=None)
167169
permissions: Optional[str] = field(default=None)
168170
flags: Optional[int] = field(default=None)
171+
total_message_sent: Optional[int] = field(default=None)
169172

170173
def __attrs_post_init__(self): # sourcery skip: last-if-guard
171174
if self._client:

0 commit comments

Comments
 (0)