====== S2C Packet 4.0: Channel Add ====== Informs the client that a channel has been created. ===== Format ===== ^ Index ^ Type ^ Description ^ | 0 | ''%%4%%'' | Channel List Event packet ID | | 1 | ''%%0%%'' | Channel Add packet ID | | 2 | [[sockchat:types#channel_name|channel name]] | Name of the newly created channel | | 3 | [[sockchat:types#bool|bool]] | Whether the channel is password protected | | 4 | [[sockchat:types#bool|bool]] | Whether the channel is set to expire | ===== Examples ===== A permanent, public channel with name Splatoon has been created: 4\t0\tSplatoon\t0\t0 A temporary, public channel with name Discussion-Topic-Here has been created: 4\t0\tDiscussion-Topic-Here\t0\t1 A temporary, password protected channel with name SECRET_COOL_CLUB has been created: 4\t0\tSECRET_COOL_CLUB\t1\t1 ===== See Also ===== * [[sockchat:s2c:channel-update|S2C Packet 4.1: Channel Update]] - A channel is updated. * [[sockchat:s2c:channel-remove|S2C Packet 4.2: Channel Remove]] - A channel is removed. * [[sockchat:commands:create|/create]] - Creates a channel.