Skip to content

setUserNote

Function · TDLib 1.8.67 · d1085f9c

Changes a note of a contact user

setUserNote(
  user_id: int53,
  note: FormattedText
) → Ok

user_id

int53

User identifier

note

FormattedText

Note to set for the user; 0-getOption("user_note_text_length_max") characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, CustomEmoji, and DateTime entities are allowed