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 leave the chat. |
tags | Array of String | Optional | tags: list of tags ids if user have 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" } }