Module tdlight.api

Class TdApi.InlineKeyboardButtonTypeSwitchInline

java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InlineKeyboardButtonType
it.tdlight.jni.TdApi.InlineKeyboardButtonTypeSwitchInline
Enclosing class:
TdApi

public static final 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
      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 - String Inline query to be sent to the bot.
      targetChat - TargetChat Target chat from which to send the inline query.
    • InlineKeyboardButtonTypeSwitchInline

      public InlineKeyboardButtonTypeSwitchInline(DataInput input) throws IOException
      A button that forces an inline query to the bot to be inserted in the input field.
      Throws:
      IOException
  • Method Details