This object represents a chat member user returned in getChatMember, banChatMember, unbanChatMember, removeChatMember, and when a user joins or leaves the chat.
Field | Type | Required | Description |
user | Yes | Unique identifier for user member. | |
chat | Yes | Unique identifier to which a member belongs or used to belong. | |
type | String | Yes | Type:
Member if the user is a member.
Admin if the user is an admin. |
member_since | Timestamp | Optional | Unix Epoch timestamp. |
status | String | Yes | Status:
Active: when the user is an active member in the chat.
Deleted: when the user has been deleted from chat.
Banned: when the user has been banned from chat.
Left: when the user leaves the chat. |
tags | Array of String | Optional | Tags: list of tag IDs if the user has tags. |
account_type | String | Optional: You must have specific privilege from Web (Get User Login ID) | Account type: user signup method (email, msisdn). |
msisdn | String | Optional | Get email or msisdn. |
Object
json{ "chatMember": { "view": 1, "chat": { "id": "90090684265189649", "type": "Channel" }, "type": "Member", "user": { "id": "24410036587411985" }, "tags": ["1", "2"], "status": "Active" } }