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

telegramium.bots.client.UnpinChatMessageReq.scala Maven / Gradle / Ivy

There is a newer version: 9.711.0
Show newest version
package telegramium.bots.client

import telegramium.bots.ChatId

/** @param chatId
  *   Unique identifier for the target chat or username of the target channel (in the format @channelusername)
  * @param businessConnectionId
  *   Unique identifier of the business connection on behalf of which the message will be unpinned
  * @param messageId
  *   Identifier of the message to unpin. Required if business_connection_id is specified. If not specified, the most
  *   recent pinned message (by sending date) will be unpinned.
  */
final case class UnpinChatMessageReq(
  chatId: ChatId,
  businessConnectionId: Option[String] = Option.empty,
  messageId: Option[Int] = Option.empty
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy