====== S2C Packet 7.2: Context Channel List ====== Populates the channel list for the server. ===== Format ===== ^ Index ^ Type ^ Description ^ | 0 | ''%%7%%'' | Context Population packet ID | | 1 | ''%%2%%'' | Context Channel List packet ID | | 2 | [[sockchat:types#int|int]] | Amount of users preset in this packet | | The following fields are repeated by the amount of times in the previous field. ||| | n + 1 | [[sockchat:types#channel_name|channel name]] | Name of the channel | | n + 2 | [[sockchat:types#bool|bool]] | Whether the channel is password protected | | n + 3 | [[sockchat:types#bool|bool]] | Whether the channel is temporary | ===== Examples ===== An empty channel list, however unlikely to occur: 7\t2\t0 A channel list with 7 channel present, among which one temporary: 7\t2\t7\tLounge\t0\t0\tProgramming\t0\t0\tGames\t0\t0\tSplatoon\t0\t0\tPassword\t1\t0\tStaff\t0\t0\tTemporary\t0\t1 ===== See Also ===== * [[sockchat:s2c:channel-add|S2C Packet 4.0: Channel Add]] - A channel has been created. * [[sockchat:s2c:context-user-list|S2C Packet 7.0: Context User List]] - Provides the user list for the current channel. * [[sockchat:s2c:context-message-add|S2C Packet 7.1: Context Message Add]] - Provides an existing message in the current channel.