Layer 220
constructor
contact#145ade0b user_id:long mutual:Bool = Contact;

Parameters

Name Type Description
UserId long User identifier
Mutual Bool Current user is in the user's contact list

Returns

Contact

Gogram Example

// Creating Contact constructor
obj := &tg.Contact{
    UserId: int64(0),
    Mutual: true,
}