optns https://w1.nandbox.net/chat-member
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 | User | Yes | Member User Unique identifier |
chat | Chat | Yes | Chat Unique identifier where member belongs or used to belongs to. |
type | String | Yes | "member" if user is a member, "admin" if user is an admin. |
member_since | Timestamp | Optional | Unix Epoch timestamp. |
status | String | Yes | "active": where user is an active member in the Chat"deleted" : where user has been deleted from Chat."banned": when user has been banned from Chat."left" : when user left the Chat. |
tags | Array of String | Optional | List of tags id if user have tags |
account_type | String | OptionalMust have specific privilege from Web (Get User Login ID) | Type for which user signup(email , msisdn) |
msisdn | String | Optional | Get email or msisdn |