Packages

abstract class LongPollBot[F[_]] extends Methods

Linear Supertypes
Methods, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongPollBot
  2. Methods
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LongPollBot(bot: Api[F])(implicit arg0: Parallel[F], syncF: Sync[F], timer: Timer[F])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addStickerToSet(userId: Int, name: String, pngSticker: Option[IFile], tgsSticker: Option[IFile], emojis: String, maskPosition: Option[MaskPosition]): Method[Boolean]
    Definition Classes
    Methods
  5. def answerCallbackQuery(callbackQueryId: String, text: Option[String], showAlert: Option[Boolean], url: Option[String], cacheTime: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  6. 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
  7. def answerPreCheckoutQuery(preCheckoutQueryId: String, ok: Boolean, errorMessage: Option[String]): Method[Update]
    Definition Classes
    Methods
  8. def answerShippingQuery(shippingQueryId: String, ok: Boolean, shippingOptions: List[ShippingOption], errorMessage: Option[String]): Method[Update]
    Definition Classes
    Methods
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  11. def close(): Method[Boolean]
    Definition Classes
    Methods
  12. def copyMessage(chatId: ChatId, fromChatId: ChatId, messageId: Int, caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[MessageId]
    Definition Classes
    Methods
  13. def createNewStickerSet(userId: Int, name: String, title: String, pngSticker: Option[IFile], tgsSticker: Option[IFile], emojis: String, containsMasks: Option[Boolean], maskPosition: Option[MaskPosition]): Method[Boolean]
    Definition Classes
    Methods
  14. def deleteChatPhoto(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  15. def deleteChatStickerSet(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  16. def deleteMessage(chatId: ChatId, messageId: Int): Method[Boolean]
    Definition Classes
    Methods
  17. def deleteStickerFromSet(sticker: String): Method[Boolean]
    Definition Classes
    Methods
  18. def deleteWebhook(dropPendingUpdates: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  19. 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
  20. def editMessageLiveLocation(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], latitude: Float, longitude: Float, horizontalAccuracy: Option[Float], heading: Option[Int], proximityAlertRadius: Option[Int], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  21. def editMessageMedia(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], media: InputMedia, replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  22. def editMessageReplyMarkup(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  23. def editMessageText(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], text: String, parseMode: Option[ParseMode], entities: List[MessageEntity], disableWebPagePreview: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  26. def exportChatInviteLink(chatId: ChatId): Method[String]
    Definition Classes
    Methods
  27. def forwardMessage(chatId: ChatId, fromChatId: ChatId, disableNotification: Option[Boolean], messageId: Int): Method[Message]
    Definition Classes
    Methods
  28. def getChat(chatId: ChatId): Method[Chat]
    Definition Classes
    Methods
  29. def getChatAdministrators(chatId: ChatId): Method[List[ChatMember]]
    Definition Classes
    Methods
  30. def getChatMember(chatId: ChatId, userId: Int): Method[ChatMember]
    Definition Classes
    Methods
  31. def getChatMembersCount(chatId: ChatId): Method[Int]
    Definition Classes
    Methods
  32. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. def getFile(fileId: String): Method[File]
    Definition Classes
    Methods
  34. def getGameHighScores(userId: Int, chatId: Option[Int], messageId: Option[Int], inlineMessageId: Option[String]): Method[List[GameHighScore]]
    Definition Classes
    Methods
  35. def getMe(): Method[User]
    Definition Classes
    Methods
  36. def getMyCommands(): Method[List[BotCommand]]
    Definition Classes
    Methods
  37. def getStickerSet(name: String): Method[StickerSet]
    Definition Classes
    Methods
  38. def getUpdates(offset: Option[Int], limit: Option[Int], timeout: Option[Int], allowedUpdates: List[String]): Method[List[Update]]
    Definition Classes
    Methods
  39. def getUserProfilePhotos(userId: Int, offset: Option[Int], limit: Option[Int]): Method[UserProfilePhotos]
    Definition Classes
    Methods
  40. def getWebhookInfo(): Method[WebhookInfo]
    Definition Classes
    Methods
  41. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  43. def kickChatMember(chatId: ChatId, userId: Int, untilDate: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  44. def leaveChat(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  45. def logOut(): Method[Boolean]
    Definition Classes
    Methods
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  49. def onCallbackQuery(query: CallbackQuery): F[Unit]
  50. def onChannelPost(msg: Message): F[Unit]
  51. def onChosenInlineResult(inlineResult: ChosenInlineResult): F[Unit]
  52. def onEditedChannelPost(msg: Message): F[Unit]
  53. def onEditedMessage(msg: Message): F[Unit]
  54. def onError(e: Throwable): F[Unit]
  55. def onErrorDelay: F[FiniteDuration]
  56. def onInlineQuery(query: InlineQuery): F[Unit]
  57. def onMessage(msg: Message): F[Unit]
  58. def onPoll(poll: Poll): F[Unit]
  59. def onPollAnswer(pollAnswer: PollAnswer): F[Unit]
  60. def onPreCheckoutQuery(query: PreCheckoutQuery): F[Unit]
  61. def onShippingQuery(query: ShippingQuery): F[Unit]
  62. def onUpdate(update: Update): F[Unit]
  63. def pinChatMessage(chatId: ChatId, messageId: Int, disableNotification: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  64. def poll(offsetKeeper: OffsetKeeper[F]): F[Unit]
  65. def pollInterval: Duration
  66. def promoteChatMember(chatId: ChatId, userId: Int, isAnonymous: Option[Boolean], canChangeInfo: Option[Boolean], canPostMessages: Option[Boolean], canEditMessages: Option[Boolean], canDeleteMessages: Option[Boolean], canInviteUsers: Option[Boolean], canRestrictMembers: Option[Boolean], canPinMessages: Option[Boolean], canPromoteMembers: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  67. def restrictChatMember(chatId: ChatId, userId: Int, permissions: ChatPermissions, untilDate: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  68. def sendAnimation(chatId: ChatId, animation: IFile, duration: Option[Int], width: Option[Int], height: Option[Int], thumb: Option[IFile], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  69. def sendAudio(chatId: ChatId, audio: IFile, caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], duration: Option[Int], performer: Option[String], title: Option[String], thumb: Option[IFile], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  70. def sendChatAction(): Method[Boolean]
    Definition Classes
    Methods
  71. def sendContact(chatId: ChatId, phoneNumber: String, firstName: String, lastName: Option[String], vcard: Option[String], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  72. def sendDice(chatId: ChatId, emoji: Option[Emoji], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  73. def sendDocument(chatId: ChatId, document: IFile, thumb: Option[IFile], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableContentTypeDetection: Option[Boolean], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  74. def sendGame(chatId: Int, gameShortName: String, disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  75. def sendInvoice(chatId: Int, title: String, description: String, payload: String, providerToken: String, startParameter: String, currency: String, prices: List[LabeledPrice], providerData: Option[String], photoUrl: Option[String], photoSize: Option[Int], 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], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  76. def sendLocation(chatId: ChatId, latitude: Float, longitude: Float, horizontalAccuracy: Option[Float], livePeriod: Option[Int], heading: Option[Int], proximityAlertRadius: Option[Int], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  77. def sendMediaGroup(chatId: ChatId, media: List[InputMedia], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean]): Method[List[Message]]
    Definition Classes
    Methods
  78. def sendMessage(chatId: ChatId, text: String, parseMode: Option[ParseMode], entities: List[MessageEntity], disableWebPagePreview: Option[Boolean], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  79. def sendPhoto(chatId: ChatId, photo: IFile, caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  80. def sendPoll(chatId: ChatId, question: String, 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], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  81. def sendSticker(chatId: ChatId, sticker: IFile, disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  82. def sendVenue(chatId: ChatId, latitude: Float, longitude: Float, title: String, address: String, foursquareId: Option[String], foursquareType: Option[String], googlePlaceId: Option[String], googlePlaceType: Option[String], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  83. def sendVideo(chatId: ChatId, video: IFile, duration: Option[Int], width: Option[Int], height: Option[Int], thumb: Option[IFile], caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], supportsStreaming: Option[Boolean], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Document]
    Definition Classes
    Methods
  84. def sendVideoNote(chatId: ChatId, videoNote: IFile, duration: Option[Int], length: Option[Int], thumb: Option[IFile], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  85. def sendVoice(chatId: ChatId, voice: IFile, caption: Option[String], parseMode: Option[ParseMode], captionEntities: List[MessageEntity], duration: Option[Int], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Audio]
    Definition Classes
    Methods
  86. def setChatAdministratorCustomTitle(chatId: ChatId, userId: Int, customTitle: String): Method[Boolean]
    Definition Classes
    Methods
  87. def setChatDescription(chatId: ChatId, description: Option[String]): Method[Boolean]
    Definition Classes
    Methods
  88. def setChatPermissions(chatId: ChatId, permissions: ChatPermissions): Method[Boolean]
    Definition Classes
    Methods
  89. def setChatPhoto(chatId: ChatId, photo: IFile): Method[Boolean]
    Definition Classes
    Methods
  90. def setChatStickerSet(chatId: ChatId, stickerSetName: String): Method[Boolean]
    Definition Classes
    Methods
  91. def setChatTitle(chatId: ChatId, title: String): Method[Boolean]
    Definition Classes
    Methods
  92. def setGameScore(userId: Int, score: Int, force: Option[Boolean], disableEditMessage: Option[Boolean], chatId: Option[Int], messageId: Option[Int], inlineMessageId: Option[String]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  93. def setMyCommands(commands: List[BotCommand]): Method[Boolean]
    Definition Classes
    Methods
  94. def setPassportDataErrors(userId: Int, errors: List[PassportElementError]): Method[Boolean]
    Definition Classes
    Methods
  95. def setStickerPositionInSet(sticker: String, position: Int): Method[Boolean]
    Definition Classes
    Methods
  96. def setStickerSetThumb(name: String, userId: Int, thumb: Option[IFile]): Method[Boolean]
    Definition Classes
    Methods
  97. def setWebhook(url: String, certificate: Option[IFile], ipAddress: Option[String], maxConnections: Option[Int], allowedUpdates: List[String], dropPendingUpdates: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  98. def start(): F[Unit]
  99. def stopMessageLiveLocation(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  100. def stopPoll(chatId: ChatId, messageId: Int, replyMarkup: Option[InlineKeyboardMarkup]): Method[Poll]
    Definition Classes
    Methods
  101. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  102. def toString(): String
    Definition Classes
    AnyRef → Any
  103. def unbanChatMember(chatId: ChatId, userId: Int, onlyIfBanned: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  104. def unpinAllChatMessages(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  105. def unpinChatMessage(chatId: ChatId, messageId: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  106. def uploadStickerFile(userId: Int, pngSticker: IFile): Method[File]
    Definition Classes
    Methods
  107. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  108. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  109. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Methods

Inherited from AnyRef

Inherited from Any

Ungrouped