discourse/plugins/chat/app/serializers/incoming_chat_webhook_serializer.rb
Roman Rizzi 0a5f548635
DEV: Move discourse-chat to the core repo. (#18776)
As part of this move, we are also renaming `discourse-chat` to `chat`.
2022-11-02 10:41:30 -03:00

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