Layer 220
constructor
updateChatParticipantAdd#3dda5451 chat_id:long user_id:long inviter_id:long date:int version:int = Update;

Parameters

Name Type Description
ChatId long Group ID
UserId long ID of the new member
InviterId long ID of the user, who added member to the group
Date int When was the participant added
Version int Chat version number

Returns

Update

Gogram Example

// Creating UpdateChatParticipantAdd constructor
obj := &tg.UpdateChatParticipantAdd{
    ChatId: int64(0),
    UserId: int64(0),
    InviterId: int64(0),
    Date: 0,
    Version: 0,
}