MadelineProtoDocs/docs/API_docs/constructors/chatParticipantAdmin.md

912 B

title description image
chatParticipantAdmin Chat admin https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: chatParticipantAdmin

Back to constructors index

Chat admin

Attributes:

Name Type Required Description
user_id int Yes ID of a group member that is admin
inviter_id int Yes ID of the user that added the member to the group
date int Yes Date when the user was added

Type: ChatParticipant

Example:

$chatParticipantAdmin = ['_' => 'chatParticipantAdmin', 'user_id' => int, 'inviter_id' => int, 'date' => int];

Or, if you're into Lua:

chatParticipantAdmin={_='chatParticipantAdmin', user_id=int, inviter_id=int, date=int}