MadelineProtoDocs/docs/TD_docs/constructors/chatMember.md

28 lines
1015 B
Markdown
Raw Normal View History

2018-04-01 13:19:25 +02:00
---
title: chatMember
description: User with information about its chat joining/leaving
2018-04-04 19:52:48 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
2018-04-01 13:19:25 +02:00
---
2018-04-05 01:19:57 +02:00
# Constructor: chatMember
2018-04-01 13:19:25 +02:00
[Back to constructors index](index.md)
User with information about its chat joining/leaving
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|user\_id|[int](../types/int.md) | Yes|User identifier of the chat member|
|inviter\_user\_id|[int](../types/int.md) | Yes|Identifier of a user invited/promoted/banned this member in the chat, 0 if unknown|
|join\_date|[int](../types/int.md) | Yes|Date the user has joined a chat, unix time|
|status|[ChatMemberStatus](../types/ChatMemberStatus.md) | Yes|Status of the member in the chat|
|bot\_info|[botInfo](../constructors/botInfo.md) | Yes|Information about bot if user is a bot, nullable. Can be null even for bot if bot is not a chat member|
### Type: [ChatMember](../types/ChatMember.md)