Class TdApi.InlineKeyboardButtonTypeSwitchInline

Enclosing class:
TdApi

public static class TdApi.InlineKeyboardButtonTypeSwitchInline extends TdApi.InlineKeyboardButtonType
A button that forces an inline query to the bot to be inserted in the input field.
  • Field Details

    • query

      public String query
      Inline query to be sent to the bot.
    • targetChat

      public TdApi.TargetChat targetChat
      Target chat from which to send the inline query.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      See Also:
  • Constructor Details

    • InlineKeyboardButtonTypeSwitchInline

      public InlineKeyboardButtonTypeSwitchInline()
      A button that forces an inline query to the bot to be inserted in the input field.
    • InlineKeyboardButtonTypeSwitchInline

      public InlineKeyboardButtonTypeSwitchInline(String query, TdApi.TargetChat targetChat)
      A button that forces an inline query to the bot to be inserted in the input field.
      Parameters:
      query - Inline query to be sent to the bot.
      targetChat - Target chat from which to send the inline query.
  • 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