Skip to content

Commit

Permalink
Document newly_created on the THREAD_CREATE dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
ajpalkovic committed Feb 1, 2022
1 parent 547dc13 commit 1875d80
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/topics/Gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ When initially creating and handshaking connections to the Gateway, a user can c

While using ETF there are some additional constraints to note:

- Snowflake IDs are transmitted as 64-bit integers or strings over ETF.
- Snowflake IDs are transmitted as 64-bit integers over ETF.

This comment has been minimized.

Copy link
@FasterSpeeding

FasterSpeeding Feb 1, 2022

Contributor

Was bac2f40 reverted here on purpose?

This comment has been minimized.

Copy link
@ajpalkovic

ajpalkovic Feb 1, 2022

Author Contributor

betrayed by github's editor, rip

- The client must not send compressed messages to the server.
- Payloads must use string keys, atom keys will lead to a 4002 decode error.

Expand Down Expand Up @@ -835,7 +835,9 @@ Sent when a channel relevant to the current user is deleted. The inner payload i

#### Thread Create

Sent when a thread is created, relevant to the current user, or when the current user is added to a thread. The inner payload is a [channel](#DOCS_RESOURCES_CHANNEL/channel-object) object. When being added to an existing private thread, includes a [thread member](#DOCS_RESOURCES_CHANNEL/thread-member-object) object.
Sent when a thread is created, relevant to the current user, or when the current user is added to a thread. The inner payload is a [channel](#DOCS_RESOURCES_CHANNEL/channel-object) object.
- When a thread is created, includes an additional `newly_created` boolean field.
- When being added to an existing private thread, includes a [thread member](#DOCS_RESOURCES_CHANNEL/thread-member-object) object.

#### Thread Update

Expand Down

0 comments on commit 1875d80

Please sign in to comment.