Layer 224
ContactsUpdateContactNote
Update the private note associated to a contact; see here for more info.
method
Users
contacts.updateContactNote#139f63fb id:InputUser note:TextWithEntities = Bool;
Parameters
| Name | Type | Description |
|---|---|---|
| Id | InputUser | The contact. |
| Note | TextWithEntities | The note. |
Returns
BoolGogram Example
// ContactsUpdateContactNote - positional arguments result, err := client.ContactsUpdateContactNote(&tg.InputUserSelf{}, &tg.TextWithEntities{}) if err != nil { // handle error } // result is *tg.Bool
Possible Errors
| Code | Type | Description |
|---|---|---|
| 400 | CONTACT_ID_INVALID | The provided contact ID is invalid. |