mirror of
https://github.com/discourse/discourse.git
synced 2024-12-02 10:53:43 +08:00
0a5f548635
As part of this move, we are also renaming `discourse-chat` to `chat`.
8 lines
248 B
Ruby
8 lines
248 B
Ruby
# frozen_string_literal: true
|
|
|
|
class IncomingChatWebhookSerializer < ApplicationSerializer
|
|
has_one :chat_channel, serializer: ChatChannelSerializer, embed: :objects
|
|
|
|
attributes :id, :name, :description, :emoji, :url, :username, :updated_at
|
|
end
|