abstract class WebhookBot[F[_]] extends Methods
- Alphabetic
- By Inheritance
- WebhookBot
- Methods
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
WebhookBot(bot: Api[F], url: String, path: String = "/", certificate: Option[InputPartFile] = Option.empty, ipAddress: Option[String] = Option.empty, maxConnections: Option[Int] = Option.empty, allowedUpdates: List[String] = List.empty)(implicit arg0: Async[F])
- url
HTTPS url to send updates to. Use an empty string to remove webhook integration
- path
Webhook route. Must be consistent with
url. If you'd like to make sure that the Webhook request comes from Telegram, we recommend using a secret path in the URL, e.g. https://www.example.com/<token>. Since nobody else knows your bot's token, you can be pretty sure it's us.- certificate
Upload your public key certificate so that the root certificate in use can be checked.
- ipAddress
The fixed IP address which will be used to send webhook requests instead of the IP address resolved through DNS.
- maxConnections
Maximum allowed number of simultaneous HTTPS connections to the webhook for update delivery, 1-100. Defaults to 40. Use lower values to limit the load on your bot‘s server, and higher values to increase your bot’s throughput.
- allowedUpdates
A list of the update types you want your bot to receive. For example, specify [“message”, “edited_channel_post”, “callback_query”] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all updates regardless of type (default). If not specified, the previous setting will be used. Please note that this parameter doesn't affect updates created before the call to the setWebhook, so unwanted updates may be received for a short period of time.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addStickerToSet(userId: Long, name: String, emojis: String, pngSticker: Option[IFile], tgsSticker: Option[IFile], webmSticker: Option[IFile], maskPosition: Option[MaskPosition]): Method[Boolean]
- Definition Classes
- Methods
-
def
answerCallbackQuery(callbackQueryId: String, text: Option[String], showAlert: Option[Boolean], url: Option[String], cacheTime: Option[Int]): Method[Boolean]
- Definition Classes
- Methods
-
def
answerInlineQuery(inlineQueryId: String, results: List[InlineQueryResult], cacheTime: Option[Int], isPersonal: Option[Boolean], nextOffset: Option[String], switchPmText: Option[String], switchPmParameter: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
answerPreCheckoutQuery(preCheckoutQueryId: String, ok: Boolean, errorMessage: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
answerShippingQuery(shippingQueryId: String, ok: Boolean, shippingOptions: List[ShippingOption], errorMessage: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
answerWebAppQuery(webAppQueryId: String, result: InlineQueryResult): Method[SentWebAppMessage]
- Definition Classes
- Methods
-
def
approveChatJoinRequest(chatId: ChatId, userId: Long): Method[Boolean]
- Definition Classes
- Methods
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
banChatMember(chatId: ChatId, userId: Long, untilDate: Option[Int], revokeMessages: Option[Boolean]): Method[Boolean]
- Definition Classes
- Methods
-
def
banChatSenderChat(chatId: ChatId, senderChatId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
close(): Method[Boolean]
- Definition Classes
- Methods
-
def
closeForumTopic(chatId: ChatId, messageThreadId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
closeGeneralForumTopic(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
copyMessage(chatId: ChatId, fromChatId: ChatId, messageId: Int, messageThreadId: Option[Int], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[MessageId]
- Definition Classes
- Methods
-
def
createChatInviteLink(chatId: ChatId, name: Option[String], expireDate: Option[Int], memberLimit: Option[Int], createsJoinRequest: Option[Boolean]): Method[ChatInviteLink]
- Definition Classes
- Methods
-
def
createForumTopic(chatId: ChatId, name: String, iconColor: Option[Int], iconCustomEmojiId: Option[String]): Method[ForumTopic]
- Definition Classes
- Methods
-
def
createInvoiceLink(title: String, description: String, payload: String, providerToken: String, currency: String, prices: List[LabeledPrice], maxTipAmount: Option[Int], suggestedTipAmounts: List[Int], providerData: Option[String], photoUrl: Option[String], photoSize: Option[Long], photoWidth: Option[Int], photoHeight: Option[Int], needName: Option[Boolean], needPhoneNumber: Option[Boolean], needEmail: Option[Boolean], needShippingAddress: Option[Boolean], sendPhoneNumberToProvider: Option[Boolean], sendEmailToProvider: Option[Boolean], isFlexible: Option[Boolean]): Method[String]
- Definition Classes
- Methods
-
def
createNewStickerSet(userId: Long, name: String, title: String, emojis: String, pngSticker: Option[IFile], tgsSticker: Option[IFile], webmSticker: Option[IFile], stickerType: Option[String], maskPosition: Option[MaskPosition]): Method[Boolean]
- Definition Classes
- Methods
-
def
declineChatJoinRequest(chatId: ChatId, userId: Long): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteChatPhoto(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteChatStickerSet(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteForumTopic(chatId: ChatId, messageThreadId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteMessage(chatId: ChatId, messageId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteMyCommands(scope: Option[BotCommandScope], languageCode: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteStickerFromSet(sticker: String): Method[Boolean]
- Definition Classes
- Methods
-
def
deleteWebhook(dropPendingUpdates: Option[Boolean]): Method[Boolean]
- Definition Classes
- Methods
-
def
editChatInviteLink(chatId: ChatId, inviteLink: String, name: Option[String], expireDate: Option[Int], memberLimit: Option[Int], createsJoinRequest: Option[Boolean]): Method[ChatInviteLink]
- Definition Classes
- Methods
-
def
editForumTopic(chatId: ChatId, messageThreadId: Int, name: Option[String], iconCustomEmojiId: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
editGeneralForumTopic(chatId: ChatId, name: String): Method[Boolean]
- Definition Classes
- Methods
-
def
editMessageCaption(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
def
editMessageLiveLocation(latitude: Float, longitude: Float, chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], horizontalAccuracy: Option[Float], heading: Option[Int], proximityAlertRadius: Option[Int], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
def
editMessageMedia(media: InputMedia, chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
def
editMessageReplyMarkup(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
def
editMessageText(text: String, chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], parseMode: Option[ParseMode], entities: List[MessageEntity], disableWebPagePreview: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
exportChatInviteLink(chatId: ChatId): Method[String]
- Definition Classes
- Methods
-
def
forwardMessage(chatId: ChatId, fromChatId: ChatId, messageId: Int, messageThreadId: Option[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean]): Method[Message]
- Definition Classes
- Methods
-
def
getChat(chatId: ChatId): Method[Chat]
- Definition Classes
- Methods
-
def
getChatAdministrators(chatId: ChatId): Method[List[ChatMember]]
- Definition Classes
- Methods
-
def
getChatMember(chatId: ChatId, userId: Long): Method[ChatMember]
- Definition Classes
- Methods
-
def
getChatMemberCount(chatId: ChatId): Method[Int]
- Definition Classes
- Methods
-
def
getChatMenuButton(chatId: Option[Int]): Method[MenuButton]
- Definition Classes
- Methods
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getCustomEmojiStickers(customEmojiIds: List[String]): Method[List[Sticker]]
- Definition Classes
- Methods
-
def
getFile(fileId: String): Method[File]
- Definition Classes
- Methods
-
def
getForumTopicIconStickers(): Method[List[Sticker]]
- Definition Classes
- Methods
-
def
getGameHighScores(userId: Long, chatId: Option[Int], messageId: Option[Int], inlineMessageId: Option[String]): Method[List[GameHighScore]]
- Definition Classes
- Methods
-
def
getMe(): Method[User]
- Definition Classes
- Methods
-
def
getMyCommands(scope: Option[BotCommandScope], languageCode: Option[String]): Method[List[BotCommand]]
- Definition Classes
- Methods
-
def
getMyDefaultAdministratorRights(forChannels: Option[Boolean]): Method[ChatAdministratorRights]
- Definition Classes
- Methods
-
def
getStickerSet(name: String): Method[StickerSet]
- Definition Classes
- Methods
-
def
getUpdates(offset: Option[Int], limit: Option[Int], timeout: Option[Int], allowedUpdates: List[String]): Method[List[Update]]
- Definition Classes
- Methods
-
def
getUserProfilePhotos(userId: Long, offset: Option[Int], limit: Option[Int]): Method[UserProfilePhotos]
- Definition Classes
- Methods
-
def
getWebhookInfo(): Method[WebhookInfo]
- Definition Classes
- Methods
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hideGeneralForumTopic(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
leaveChat(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
logOut(): Method[Boolean]
- Definition Classes
- Methods
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def onCallbackQuery(query: CallbackQuery): F[Unit]
- def onCallbackQueryReply(query: CallbackQuery): F[Option[Method[_]]]
- def onChannelPost(msg: Message): F[Unit]
- def onChannelPostReply(msg: Message): F[Option[Method[_]]]
- def onChatJoinRequest(request: ChatJoinRequest): F[Unit]
- def onChatJoinRequestReply(request: ChatJoinRequest): F[Option[Method[_]]]
- def onChatMember(chatMember: ChatMemberUpdated): F[Unit]
- def onChatMemberReply(chatMember: ChatMemberUpdated): F[Option[Method[_]]]
- def onChosenInlineResult(inlineResult: ChosenInlineResult): F[Unit]
- def onChosenInlineResultReply(inlineResult: ChosenInlineResult): F[Option[Method[_]]]
- def onEditedChannelPost(msg: Message): F[Unit]
- def onEditedChannelPostReply(msg: Message): F[Option[Method[_]]]
- def onEditedMessage(msg: Message): F[Unit]
- def onEditedMessageReply(msg: Message): F[Option[Method[_]]]
- def onInlineQuery(query: InlineQuery): F[Unit]
- def onInlineQueryReply(query: InlineQuery): F[Option[Method[_]]]
- def onMessage(msg: Message): F[Unit]
- def onMessageReply(msg: Message): F[Option[Method[_]]]
- def onMyChatMember(myChatMember: ChatMemberUpdated): F[Unit]
- def onMyChatMemberReply(myChatMember: ChatMemberUpdated): F[Option[Method[_]]]
- def onPoll(poll: Poll): F[Unit]
- def onPollAnswer(pollAnswer: PollAnswer): F[Unit]
- def onPollAnswerReply(pollAnswer: PollAnswer): F[Option[Method[_]]]
- def onPollReply(poll: Poll): F[Option[Method[_]]]
- def onPreCheckoutQuery(query: PreCheckoutQuery): F[Unit]
- def onPreCheckoutQueryReply(query: PreCheckoutQuery): F[Option[Method[_]]]
- def onShippingQuery(query: ShippingQuery): F[Unit]
- def onShippingQueryReply(query: ShippingQuery): F[Option[Method[_]]]
- def onUpdate(update: Update): F[Option[Method[_]]]
-
def
pinChatMessage(chatId: ChatId, messageId: Int, disableNotification: Option[Boolean]): Method[Boolean]
- Definition Classes
- Methods
-
def
promoteChatMember(chatId: ChatId, userId: Long, isAnonymous: Option[Boolean], canManageChat: Option[Boolean], canPostMessages: Option[Boolean], canEditMessages: Option[Boolean], canDeleteMessages: Option[Boolean], canManageVideoChats: Option[Boolean], canRestrictMembers: Option[Boolean], canPromoteMembers: Option[Boolean], canChangeInfo: Option[Boolean], canInviteUsers: Option[Boolean], canPinMessages: Option[Boolean], canManageTopics: Option[Boolean]): Method[Boolean]
- Definition Classes
- Methods
-
def
reopenForumTopic(chatId: ChatId, messageThreadId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
reopenGeneralForumTopic(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
restrictChatMember(chatId: ChatId, userId: Long, permissions: ChatPermissions, untilDate: Option[Int]): Method[Boolean]
- Definition Classes
- Methods
-
def
revokeChatInviteLink(chatId: ChatId, inviteLink: String): Method[ChatInviteLink]
- Definition Classes
- Methods
-
def
sendAnimation(chatId: ChatId, animation: IFile, messageThreadId: Option[Int], duration: Option[Int], width: Option[Int], height: Option[Int], thumb: Option[IFile], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], hasSpoiler: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendAudio(chatId: ChatId, audio: IFile, messageThreadId: Option[Int], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], duration: Option[Int], performer: Option[String], title: Option[String], thumb: Option[IFile], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendChatAction(chatId: ChatId, action: String, messageThreadId: Option[Int]): Method[Boolean]
- Definition Classes
- Methods
-
def
sendContact(chatId: ChatId, phoneNumber: String, firstName: String, messageThreadId: Option[Int], lastName: Option[String], vcard: Option[String], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendDice(chatId: ChatId, messageThreadId: Option[Int], emoji: Option[Emoji], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendDocument(chatId: ChatId, document: IFile, messageThreadId: Option[Int], thumb: Option[IFile], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableContentTypeDetection: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendGame(chatId: Int, gameShortName: String, messageThreadId: Option[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, currency: String, messageThreadId: Option[Int], prices: List[LabeledPrice], maxTipAmount: Option[Int], suggestedTipAmounts: List[Int], startParameter: Option[String], providerData: Option[String], photoUrl: Option[String], photoSize: Option[Long], photoWidth: Option[Int], photoHeight: Option[Int], needName: Option[Boolean], needPhoneNumber: Option[Boolean], needEmail: Option[Boolean], needShippingAddress: Option[Boolean], sendPhoneNumberToProvider: Option[Boolean], sendEmailToProvider: Option[Boolean], isFlexible: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendLocation(chatId: ChatId, latitude: Float, longitude: Float, messageThreadId: Option[Int], horizontalAccuracy: Option[Float], livePeriod: Option[Int], heading: Option[Int], proximityAlertRadius: Option[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendMediaGroup(chatId: ChatId, messageThreadId: Option[Int], media: List[InputMedia], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean]): Method[List[Message]]
- Definition Classes
- Methods
-
def
sendMessage(chatId: ChatId, text: String, messageThreadId: Option[Int], parseMode: Option[ParseMode], entities: List[MessageEntity], disableWebPagePreview: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendPhoto(chatId: ChatId, photo: IFile, messageThreadId: Option[Int], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], hasSpoiler: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendPoll(chatId: ChatId, question: String, messageThreadId: Option[Int], options: List[String], isAnonymous: Option[Boolean], type: Option[String], allowsMultipleAnswers: Option[Boolean], correctOptionId: Option[Int], explanation: Option[String], explanationParseMode: Option[String], explanationEntities: List[MessageEntity], openPeriod: Option[Int], closeDate: Option[Int], isClosed: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendSticker(chatId: ChatId, sticker: IFile, messageThreadId: Option[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendVenue(chatId: ChatId, latitude: Float, longitude: Float, title: String, address: String, messageThreadId: Option[Int], foursquareId: Option[String], foursquareType: Option[String], googlePlaceId: Option[String], googlePlaceType: Option[String], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendVideo(chatId: ChatId, video: IFile, messageThreadId: Option[Int], duration: Option[Int], width: Option[Int], height: Option[Int], thumb: Option[IFile], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], hasSpoiler: Option[Boolean], supportsStreaming: Option[Boolean], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendVideoNote(chatId: ChatId, videoNote: IFile, messageThreadId: Option[Int], duration: Option[Int], length: Option[Int], thumb: Option[IFile], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
sendVoice(chatId: ChatId, voice: IFile, messageThreadId: Option[Int], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], duration: Option[Int], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
- Definition Classes
- Methods
-
def
setChatAdministratorCustomTitle(chatId: ChatId, userId: Long, customTitle: String): Method[Boolean]
- Definition Classes
- Methods
-
def
setChatDescription(chatId: ChatId, description: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
setChatMenuButton(chatId: Option[Int], menuButton: Option[MenuButton]): Method[Boolean]
- Definition Classes
- Methods
-
def
setChatPermissions(chatId: ChatId, permissions: ChatPermissions): Method[Boolean]
- Definition Classes
- Methods
-
def
setChatPhoto(chatId: ChatId, photo: IFile): Method[Boolean]
- Definition Classes
- Methods
-
def
setChatStickerSet(chatId: ChatId, stickerSetName: String): Method[Boolean]
- Definition Classes
- Methods
-
def
setChatTitle(chatId: ChatId, title: String): Method[Boolean]
- Definition Classes
- Methods
-
def
setGameScore(userId: Long, score: Int, force: Option[Boolean], disableEditMessage: Option[Boolean], chatId: Option[Int], messageId: Option[Int], inlineMessageId: Option[String]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
def
setMyCommands(commands: List[BotCommand], scope: Option[BotCommandScope], languageCode: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
setMyDefaultAdministratorRights(rights: Option[ChatAdministratorRights], forChannels: Option[Boolean]): Method[Boolean]
- Definition Classes
- Methods
-
def
setPassportDataErrors(userId: Long, errors: List[PassportElementError]): Method[Boolean]
- Definition Classes
- Methods
-
def
setStickerPositionInSet(sticker: String, position: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
setStickerSetThumb(name: String, userId: Long, thumb: Option[IFile]): Method[Boolean]
- Definition Classes
- Methods
-
def
setWebhook(url: String, certificate: Option[IFile], ipAddress: Option[String], maxConnections: Option[Int], allowedUpdates: List[String], dropPendingUpdates: Option[Boolean], secretToken: Option[String]): Method[Boolean]
- Definition Classes
- Methods
-
def
start(port: Int, host: String = org.http4s.server.defaults.IPv4Host): Resource[F, Server]
- port
port used to bind the resulting Server
- host
host used to bind the resulting Server
-
def
stopMessageLiveLocation(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
- Definition Classes
- Methods
-
def
stopPoll(chatId: ChatId, messageId: Int, replyMarkup: Option[InlineKeyboardMarkup]): Method[Poll]
- Definition Classes
- Methods
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unbanChatMember(chatId: ChatId, userId: Long, onlyIfBanned: Option[Boolean]): Method[Boolean]
- Definition Classes
- Methods
-
def
unbanChatSenderChat(chatId: ChatId, senderChatId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
unhideGeneralForumTopic(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
unpinAllChatMessages(chatId: ChatId): Method[Boolean]
- Definition Classes
- Methods
-
def
unpinAllForumTopicMessages(chatId: ChatId, messageThreadId: Int): Method[Boolean]
- Definition Classes
- Methods
-
def
unpinChatMessage(chatId: ChatId, messageId: Option[Int]): Method[Boolean]
- Definition Classes
- Methods
-
def
uploadStickerFile(userId: Long, pngSticker: IFile): Method[File]
- Definition Classes
- Methods
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated