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