setContactNote
Set a contact note.
Parameters
The identifier of the user to update the note for.
note?: string
A note to attach to the contact.
The note’s entities.
The parse mode to use for the note
Result
void
Syntax
// Required parameters only.
await client.setContactNote(userId);
// Required parameters + optional parameters.
// Any of the optional parameters can be omitted.
await client.setContactNote(userId, { note, noteEntities, noteParseMode });