def __init__(self, data: TextChannelPayload, state: State):
    super().__init__(data, state)
    self.server = state.get_server(data['server'])
    self.name = data['name']
    self.description = data.get('description')
    last_message_id = data.get('last_message')
    self.last_message = state.get_message(last_message_id)
    self.last_message_id = last_message_id
def __init__(self, data: TextChannelPayload, state: State):
    super().__init__(data, state)
    self.server = state.get_server(data['server'])
    self.name = data['name']
    self.description = data.get('description')
    last_message_id = data.get('last_message')
    self.last_message = state.get_message(last_message_id)
    self.last_message_id = last_message_id