Layer 224
constructor
chatParticipant#38e79fde flags:# user_id:long inviter_id:long date:int rank:flags.0?string = ChatParticipant;

Parameters

Name Type Description
UserId long Member user ID
InviterId long ID of the user that added the member to the group
Date int Date added to the group
Rank flags.0?string

Returns

ChatParticipant

Gogram Example

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

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