Layer 224
constructor
chatParticipantAdmin#360d5d2 flags:# user_id:long inviter_id:long date:int rank:flags.0?string = ChatParticipant;

Parameters

Name Type Description
UserId long ID of a group member that is admin
InviterId long ID of the user that added the member to the group
Date int Date when the user was added
Rank flags.0?string

Returns

ChatParticipant

Gogram Example

// Creating ChatParticipantAdmin constructor
obj := &tg.ChatParticipantAdmin{
    UserId: int64(1234567890),
    InviterId: int64(1234567890),
    Date: 42,

    // Optional fields:
    // Rank: "Hello, World!",
}