All Downloads are FREE. Search and download functionalities are using the official Maven repository.

telegramium.bots.SwitchInlineQueryChosenChat.scala Maven / Gradle / Ivy

package telegramium.bots

/** This object represents an inline button that switches the current user to inline mode in a chosen chat, with an
  * optional default inline query.
  *
  * @param query
  *   Optional. The default inline query to be inserted in the input field. If left empty, only the bot's username will
  *   be inserted
  * @param allowUserChats
  *   Optional. True, if private chats with users can be chosen
  * @param allowBotChats
  *   Optional. True, if private chats with bots can be chosen
  * @param allowGroupChats
  *   Optional. True, if group and supergroup chats can be chosen
  * @param allowChannelChats
  *   Optional. True, if channel chats can be chosen
  */
final case class SwitchInlineQueryChosenChat(
  query: Option[String] = Option.empty,
  allowUserChats: Option[Boolean] = Option.empty,
  allowBotChats: Option[Boolean] = Option.empty,
  allowGroupChats: Option[Boolean] = Option.empty,
  allowChannelChats: Option[Boolean] = Option.empty
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy