topLevelFields constant

List<String> const topLevelFields

Known top level fields. Useful for Serializer methods.

Implementation

static const topLevelFields = [
  'id',
  'text',
  'type',
  'silent',
  'attachments',
  'latest_reactions',
  'shadowed',
  'own_reactions',
  'mentioned_users',
  'reaction_counts',
  'reaction_scores',
  'silent',
  'parent_id',
  'quoted_message',
  'quoted_message_id',
  'reply_count',
  'thread_participants',
  'show_in_channel',
  'command',
  'created_at',
  'updated_at',
  'deleted_at',
  'user',
  'pinned',
  'pinned_at',
  'pin_expires',
  'pinned_by',
  'i18n',
];