public static class TdApi.SetQuickReplyShortcutName extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
name
New name for the shortcut.
|
int |
shortcutId
Unique identifier of the quick reply shortcut.
|
| Constructor and Description |
|---|
SetQuickReplyShortcutName()
Default constructor for a function, which changes name of a quick reply shortcut.
|
SetQuickReplyShortcutName(int shortcutId,
java.lang.String name)
Creates a function, which changes name of a quick reply shortcut.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int shortcutId
public java.lang.String name
public static final int CONSTRUCTOR
public SetQuickReplyShortcutName()
Returns Ok
public SetQuickReplyShortcutName(int shortcutId,
java.lang.String name)
Returns Ok
shortcutId - Unique identifier of the quick reply shortcut.name - New name for the shortcut. Use checkQuickReplyShortcutName to check its validness.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object