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 createChatInviteLink(chatId: ChatId, expireDate: Option[Int], memberLimit: Option[Int]): Method[ChatInviteLink]
    Definition Classes
    Methods
  14. 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
  15. def deleteChatPhoto(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  16. def deleteChatStickerSet(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  17. def deleteMessage(chatId: ChatId, messageId: Int): Method[Boolean]
    Definition Classes
    Methods
  18. def deleteStickerFromSet(sticker: String): Method[Boolean]
    Definition Classes
    Methods
  19. def deleteWebhook(dropPendingUpdates: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  20. def editChatInviteLink(chatId: ChatId, inviteLink: String, expireDate: Option[Int], memberLimit: Option[Int]): Method[ChatInviteLink]
    Definition Classes
    Methods
  21. 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
  22. 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
  23. def editMessageMedia(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], media: InputMedia, replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  24. def editMessageReplyMarkup(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  25. 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
  26. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  28. def exportChatInviteLink(chatId: ChatId): Method[String]
    Definition Classes
    Methods
  29. def forwardMessage(chatId: ChatId, fromChatId: ChatId, disableNotification: Option[Boolean], messageId: Int): Method[Message]
    Definition Classes
    Methods
  30. def getChat(chatId: ChatId): Method[Chat]
    Definition Classes
    Methods
  31. def getChatAdministrators(chatId: ChatId): Method[List[ChatMember]]
    Definition Classes
    Methods
  32. def getChatMember(chatId: ChatId, userId: Int): Method[ChatMember]
    Definition Classes
    Methods
  33. def getChatMembersCount(chatId: ChatId): Method[Int]
    Definition Classes
    Methods
  34. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. def getFile(fileId: String): Method[File]
    Definition Classes
    Methods
  36. def getGameHighScores(userId: Int, chatId: Option[Int], messageId: Option[Int], inlineMessageId: Option[String]): Method[List[GameHighScore]]
    Definition Classes
    Methods
  37. def getMe(): Method[User]
    Definition Classes
    Methods
  38. def getMyCommands(): Method[List[BotCommand]]
    Definition Classes
    Methods
  39. def getStickerSet(name: String): Method[StickerSet]
    Definition Classes
    Methods
  40. def getUpdates(offset: Option[Int], limit: Option[Int], timeout: Option[Int], allowedUpdates: List[String]): Method[List[Update]]
    Definition Classes
    Methods
  41. def getUserProfilePhotos(userId: Int, offset: Option[Int], limit: Option[Int]): Method[UserProfilePhotos]
    Definition Classes
    Methods
  42. def getWebhookInfo(): Method[WebhookInfo]
    Definition Classes
    Methods
  43. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. def kickChatMember(chatId: ChatId, userId: Int, untilDate: Option[Int], revokeMessages: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  46. def leaveChat(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  47. def logOut(): Method[Boolean]
    Definition Classes
    Methods
  48. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  51. def onCallbackQuery(query: CallbackQuery): F[Unit]
  52. def onChannelPost(msg: Message): F[Unit]
  53. def onChatMember(chatMember: ChatMemberUpdated): F[Unit]
  54. def onChosenInlineResult(inlineResult: ChosenInlineResult): F[Unit]
  55. def onEditedChannelPost(msg: Message): F[Unit]
  56. def onEditedMessage(msg: Message): F[Unit]
  57. def onError(e: Throwable): F[Unit]
  58. def onErrorDelay: F[FiniteDuration]
  59. def onInlineQuery(query: InlineQuery): F[Unit]
  60. def onMessage(msg: Message): F[Unit]
  61. def onMyChatMember(myChatMember: ChatMemberUpdated): F[Unit]
  62. def onPoll(poll: Poll): F[Unit]
  63. def onPollAnswer(pollAnswer: PollAnswer): F[Unit]
  64. def onPreCheckoutQuery(query: PreCheckoutQuery): F[Unit]
  65. def onShippingQuery(query: ShippingQuery): F[Unit]
  66. def onUpdate(update: Update): F[Unit]
  67. def pinChatMessage(chatId: ChatId, messageId: Int, disableNotification: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  68. def poll(offsetKeeper: OffsetKeeper[F]): F[Unit]
  69. def pollInterval: Duration
  70. def promoteChatMember(chatId: ChatId, userId: Int, isAnonymous: Option[Boolean], canManageChat: Option[Boolean], canPostMessages: Option[Boolean], canEditMessages: Option[Boolean], canDeleteMessages: Option[Boolean], canManageVoiceChats: Option[Boolean], canRestrictMembers: Option[Boolean], canPromoteMembers: Option[Boolean], canChangeInfo: Option[Boolean], canInviteUsers: Option[Boolean], canPinMessages: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  71. def restrictChatMember(chatId: ChatId, userId: Int, permissions: ChatPermissions, untilDate: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  72. def revokeChatInviteLink(chatId: ChatId, inviteLink: String): Method[ChatInviteLink]
    Definition Classes
    Methods
  73. 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
  74. 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
  75. def sendChatAction(chatId: ChatId, action: String): Method[Boolean]
    Definition Classes
    Methods
  76. 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
  77. def sendDice(chatId: ChatId, emoji: Option[Emoji], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  78. 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
  79. def sendGame(chatId: Int, gameShortName: String, disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  80. def sendInvoice(chatId: ChatId, title: String, description: String, payload: String, providerToken: String, currency: String, prices: List[LabeledPrice], maxTipAmount: Option[Int], suggestedTipAmounts: List[Int], startParameter: Option[String], 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
  81. 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
  82. def sendMediaGroup(chatId: ChatId, media: List[InputMedia], disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean]): Method[List[Message]]
    Definition Classes
    Methods
  83. 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
  84. 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
  85. 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
  86. def sendSticker(chatId: ChatId, sticker: IFile, disableNotification: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  87. 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
  88. 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
  89. 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
  90. 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
  91. def setChatAdministratorCustomTitle(chatId: ChatId, userId: Int, customTitle: String): Method[Boolean]
    Definition Classes
    Methods
  92. def setChatDescription(chatId: ChatId, description: Option[String]): Method[Boolean]
    Definition Classes
    Methods
  93. def setChatPermissions(chatId: ChatId, permissions: ChatPermissions): Method[Boolean]
    Definition Classes
    Methods
  94. def setChatPhoto(chatId: ChatId, photo: IFile): Method[Boolean]
    Definition Classes
    Methods
  95. def setChatStickerSet(chatId: ChatId, stickerSetName: String): Method[Boolean]
    Definition Classes
    Methods
  96. def setChatTitle(chatId: ChatId, title: String): Method[Boolean]
    Definition Classes
    Methods
  97. 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
  98. def setMyCommands(commands: List[BotCommand]): Method[Boolean]
    Definition Classes
    Methods
  99. def setPassportDataErrors(userId: Int, errors: List[PassportElementError]): Method[Boolean]
    Definition Classes
    Methods
  100. def setStickerPositionInSet(sticker: String, position: Int): Method[Boolean]
    Definition Classes
    Methods
  101. def setStickerSetThumb(name: String, userId: Int, thumb: Option[IFile]): Method[Boolean]
    Definition Classes
    Methods
  102. def setWebhook(url: String, certificate: Option[IFile], ipAddress: Option[String], maxConnections: Option[Int], allowedUpdates: List[String], dropPendingUpdates: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  103. def start(): F[Unit]
  104. def stopMessageLiveLocation(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  105. def stopPoll(chatId: ChatId, messageId: Int, replyMarkup: Option[InlineKeyboardMarkup]): Method[Poll]
    Definition Classes
    Methods
  106. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  107. def toString(): String
    Definition Classes
    AnyRef → Any
  108. def unbanChatMember(chatId: ChatId, userId: Int, onlyIfBanned: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  109. def unpinAllChatMessages(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  110. def unpinChatMessage(chatId: ChatId, messageId: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  111. def uploadStickerFile(userId: Int, pngSticker: IFile): Method[File]
    Definition Classes
    Methods
  112. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  113. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  114. 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