Package org.drinkless.tdlib
Class TdApi.SetUserNote
- Enclosing class:
- TdApi
Changes a note of a contact user.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.Note to set for the user; 0-getOption("user_note_text_length_max") characters.longUser identifier. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes a note of a contact user.SetUserNote(long userId, TdApi.FormattedText note) Creates a function, which changes a note of a contact user. -
Method Summary
Modifier and TypeMethodDescriptionintReturns an identifier uniquely determining type of the object.Methods inherited from class org.drinkless.tdlib.TdApi.Function
toString
-
Field Details
-
userId
public long userIdUser 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. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetUserNote
public SetUserNote()Default constructor for a function, which changes a note of a contact user.Returns
Ok -
SetUserNote
Creates a function, which changes a note of a contact user.Returns
Ok- Parameters:
userId- 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.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.ObjectReturns an identifier uniquely determining type of the object.- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-