Class TdApi.SetQuickReplyShortcutName

Enclosing class:
TdApi

public static class TdApi.SetQuickReplyShortcutName extends TdApi.Function<TdApi.Ok>
Changes name of a quick reply shortcut.

Returns Ok

  • Field Details

    • shortcutId

      public int shortcutId
      Unique identifier of the quick reply shortcut.
    • name

      public String name
      New name for the shortcut. Use checkQuickReplyShortcutName to check its validness.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier 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

      public SetQuickReplyShortcutName(int shortcutId, String name)
      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.Object
      Returns an identifier uniquely determining type of the object.
      Specified by:
      getConstructor in class TdApi.Object
      Returns:
      this.CONSTRUCTOR