Package org.drinkless.tdlib
Class TdApi.SetQuickReplyShortcutName
- Enclosing class:
- TdApi
Changes name of a quick reply shortcut.
Returns Ok
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIdentifier uniquely determining type of the object.New name for the shortcut.intUnique identifier of the quick reply shortcut. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for a function, which changes name of a quick reply shortcut.SetQuickReplyShortcutName(int shortcutId, String name) Creates a function, which changes name of a quick reply shortcut. -
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
-
shortcutId
public int shortcutIdUnique identifier of the quick reply shortcut. -
name
New name for the shortcut. Use checkQuickReplyShortcutName to check its validness. -
CONSTRUCTOR
public static final int CONSTRUCTORIdentifier uniquely determining type of the object.- See Also:
-
-
Constructor Details
-
SetQuickReplyShortcutName
public SetQuickReplyShortcutName()Default constructor for a function, which changes name of a quick reply shortcut.Returns
Ok -
SetQuickReplyShortcutName
Creates a function, which changes name of a quick reply shortcut.Returns
Ok- Parameters:
shortcutId- Unique identifier of the quick reply shortcut.name- New name for the shortcut. Use checkQuickReplyShortcutName to check its validness.
-
-
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
-