Skip to main content

set_user_note

Function set_user_note 

Source
pub async fn set_user_note(
    user_id: i64,
    note: FormattedText,
    client_id: i32,
) -> Result<(), Error>
Expand description

Changes a note of a contact user

§Arguments

  • user_id - User identifier
  • note - Note to set for the user; 0-getOption(“user_note_text_length_max”) characters. Only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities are allowed
  • client_id - The client id to send the request to