Odoo 20.0 Community · Persistent

discuss.channel.member: fields, relations and API

The discuss.channel.member model ("Channel Member") is a persistent model declared by the Discuss module, then extended by 2 other modules. It exposes 30 fields, 24 of them declared directly on the model; 3 fields from other models point to it. Below you will find every field with its technical name, type, label and relations, followed by an Odoo 20 JSON-2 API call.

Model identity

Technical name
discuss.channel.member
Label
Channel Member
Type
Persistent (models.Model)
SQL table
discuss_channel_member
Origin module
Discuss (mail)
Extended by
im_livechat, website_livechat
Inherits from (mixins)
bus.listener.mixinbus.sync.mixin

Model fields

24 own fields, 0 inherited from mixins and 6 automatic ORM fields. Click a name to get a direct link to that field.

30 of 30 fields shown

Technical nameLabelTypeDetails
agent_expertise_idsAgent Expertisemany2many
computed

added by Live Chat (im_livechat)

channel_idChannelmany2one
required
channel_roleChannel Role

The role of the member in the channel. The owner can add and remove admins. The owner and admins can edit the channel and its members.

selection

Values: owner (Owner), admin (Admin)

chatbot_script_idChatbot Scriptmany2one
computed

added by Live Chat (im_livechat)

custom_notificationsCustomized Notifications

Use default from user settings if not specified. This setting will only be applied to channels.

selection

Values: all (All Messages), mentions (Mentions Only), no_notif (Nothing)

guest_idGuestmany2one
invitation_sent_dtInvitation Sent On

Date and time at which the invitation was last sent to this member. Cleared when the member joins, so a value means the invitation is still pending.

datetime
is_favoriteFavoriteboolean
is_pinnedIs pinned on the interfaceboolean
computed
is_selfIs Selfboolean
computed
is_unreadHas unread messagesboolean
computed
last_interest_dtLast Activity

Contains the date and time of the last interesting event that happened in this channel for this user. This includes: creating, joining, pinning

datetime
last_seen_dtLast seen datedatetime
livechat_member_history_idsLivechat Member Historyone2many

inverse: member_id

added by Live Chat (im_livechat)

livechat_member_typeLivechat Member Typeselection
computed

Values: agent (Agent), visitor (Visitor), bot (Chatbot)

added by Live Chat (im_livechat)

message_unread_counterUnread Messages Counterinteger
computed
mute_until_dtMute notifications until

If set, the member will not receive notifications from the channel until this date.

datetime
new_message_separatorNew Message Separator

Message id before which the separator should be displayed

integer
required
partner_idPartnermany2one
rtc_inviting_session_idRinging sessionmany2one
rtc_session_idsRTC Sessionsone2many

inverse: channel_member_id

seen_message_idLast Seenmany2one
unpin_dtUnpin date

Contains the date and time when the channel was unpinned by the user.

datetime
create_dateCreated ondatetime
read-onlyautomatic
create_uidCreated bymany2one
read-onlyautomatic
display_nameDisplay Namechar
read-onlycomputedautomatic
idIDinteger
read-onlyautomatic
write_dateLast Updated ondatetime
read-onlyautomatic
write_uidLast Updated bymany2one
read-onlyautomatic

Relations

Models linked from this model

Fields of other models pointing here

Reading this model through the API

Odoo 20 JSON-2 API call reading the first five records with real fields of the model. Replace the instance, database and API key with your own.

curl
curl -X POST "https://your-instance.odoo.com/json/2/discuss.channel.member/search_read" \
  -H "Authorization: bearer $ODOO_API_KEY" \
  -H "X-Odoo-Database: your-db" \
  -H "Content-Type: application/json" \
  -d '{"domain":[],"fields":["channel_id","new_message_separator","guest_id","partner_id","rtc_inviting_session_id"],"limit":5}'
Python (requests)
import requests

BASE_URL = "https://your-instance.odoo.com/json/2"
headers = {"Authorization": f"bearer {API_KEY}", "X-Odoo-Database": "your-db"}

res = requests.post(
    f"{BASE_URL}/discuss.channel.member/search_read",
    headers=headers,
    json={"domain": [], "fields": ["channel_id","new_message_separator","guest_id","partner_id","rtc_inviting_session_id"], "limit": 5},
)
res.raise_for_status()
print(res.json())
  • External API access requires Odoo's Custom plan.
  • XML-RPC and JSON-RPC will be removed in Odoo 22 (fall 2028): use JSON-2.
  • The access rights and record rules of the key's user apply.

Cite this tool

Writing a tutorial, internal documentation or a forum answer? Copy this link to send your readers to the up-to-date reference.

<a href="https://aidoo.ai/en/outils/explorateur-modeles-odoo/discuss-channel-member">discuss.channel.member (Odoo 20.0)</a>

Sources

Data verified on September 25, 2026 · Odoo 20.0 Community

Have an Odoo project, or want to put your ERP to work with AI? Let's talk

Implementation, custom module development, connecting Claude or ChatGPT to your data: tell us about your context and we will reply within 24 business hours.