Packages

object Methods extends Methods

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

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], webmSticker: 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 answerWebAppQuery(webAppQueryId: String, result: InlineQueryResult): Method[SentWebAppMessage]
    Definition Classes
    Methods
  10. def approveChatJoinRequest(chatId: ChatId, userId: Long): Method[Boolean]
    Definition Classes
    Methods
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def banChatMember(chatId: ChatId, userId: Long, untilDate: Option[Int], revokeMessages: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  13. def banChatSenderChat(chatId: ChatId, senderChatId: Int): Method[Boolean]
    Definition Classes
    Methods
  14. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  15. def close(): Method[Boolean]
    Definition Classes
    Methods
  16. def copyMessage(chatId: ChatId, fromChatId: ChatId, messageId: 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
  17. def createChatInviteLink(chatId: ChatId, name: Option[String], expireDate: Option[Int], memberLimit: Option[Int], createsJoinRequest: Option[Boolean]): Method[ChatInviteLink]
    Definition Classes
    Methods
  18. 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
  19. def createNewStickerSet(userId: Long, name: String, title: String, pngSticker: Option[IFile], tgsSticker: Option[IFile], webmSticker: Option[IFile], emojis: String, containsMasks: Option[Boolean], maskPosition: Option[MaskPosition]): Method[Boolean]
    Definition Classes
    Methods
  20. def declineChatJoinRequest(chatId: ChatId, userId: Long): Method[Boolean]
    Definition Classes
    Methods
  21. def deleteChatPhoto(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  22. def deleteChatStickerSet(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  23. def deleteMessage(chatId: ChatId, messageId: Int): Method[Boolean]
    Definition Classes
    Methods
  24. def deleteMyCommands(scope: Option[BotCommandScope], languageCode: Option[String]): Method[Boolean]
    Definition Classes
    Methods
  25. def deleteStickerFromSet(sticker: String): Method[Boolean]
    Definition Classes
    Methods
  26. def deleteWebhook(dropPendingUpdates: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  27. def editChatInviteLink(chatId: ChatId, inviteLink: String, name: Option[String], expireDate: Option[Int], memberLimit: Option[Int], createsJoinRequest: Option[Boolean]): Method[ChatInviteLink]
    Definition Classes
    Methods
  28. 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
  29. 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
  30. def editMessageMedia(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], media: InputMedia, replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  31. def editMessageReplyMarkup(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  32. 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
  33. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  35. def exportChatInviteLink(chatId: ChatId): Method[String]
    Definition Classes
    Methods
  36. def forwardMessage(chatId: ChatId, fromChatId: ChatId, disableNotification: Option[Boolean], protectContent: Option[Boolean], messageId: Int): Method[Message]
    Definition Classes
    Methods
  37. def getChat(chatId: ChatId): Method[Chat]
    Definition Classes
    Methods
  38. def getChatAdministrators(chatId: ChatId): Method[List[ChatMember]]
    Definition Classes
    Methods
  39. def getChatMember(chatId: ChatId, userId: Long): Method[ChatMember]
    Definition Classes
    Methods
  40. def getChatMemberCount(chatId: ChatId): Method[Int]
    Definition Classes
    Methods
  41. def getChatMenuButton(chatId: Option[Int]): Method[MenuButton]
    Definition Classes
    Methods
  42. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  43. def getFile(fileId: String): Method[File]
    Definition Classes
    Methods
  44. def getGameHighScores(userId: Long, chatId: Option[Int], messageId: Option[Int], inlineMessageId: Option[String]): Method[List[GameHighScore]]
    Definition Classes
    Methods
  45. def getMe(): Method[User]
    Definition Classes
    Methods
  46. def getMyCommands(scope: Option[BotCommandScope], languageCode: Option[String]): Method[List[BotCommand]]
    Definition Classes
    Methods
  47. def getMyDefaultAdministratorRights(forChannels: Option[Boolean]): Method[ChatAdministratorRights]
    Definition Classes
    Methods
  48. def getStickerSet(name: String): Method[StickerSet]
    Definition Classes
    Methods
  49. def getUpdates(offset: Option[Int], limit: Option[Int], timeout: Option[Int], allowedUpdates: List[String]): Method[List[Update]]
    Definition Classes
    Methods
  50. def getUserProfilePhotos(userId: Long, offset: Option[Int], limit: Option[Int]): Method[UserProfilePhotos]
    Definition Classes
    Methods
  51. def getWebhookInfo(): Method[WebhookInfo]
    Definition Classes
    Methods
  52. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  53. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  54. def leaveChat(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  55. def logOut(): Method[Boolean]
    Definition Classes
    Methods
  56. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  57. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  58. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  59. def pinChatMessage(chatId: ChatId, messageId: Int, disableNotification: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  60. 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]): Method[Boolean]
    Definition Classes
    Methods
  61. def restrictChatMember(chatId: ChatId, userId: Long, permissions: ChatPermissions, untilDate: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  62. def revokeChatInviteLink(chatId: ChatId, inviteLink: String): Method[ChatInviteLink]
    Definition Classes
    Methods
  63. 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], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  64. 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], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  65. def sendChatAction(chatId: ChatId, action: String): Method[Boolean]
    Definition Classes
    Methods
  66. def sendContact(chatId: ChatId, phoneNumber: String, firstName: String, 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
  67. def sendDice(chatId: ChatId, emoji: Option[Emoji], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  68. def sendDocument(chatId: ChatId, document: IFile, 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
  69. def sendGame(chatId: Int, gameShortName: String, disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[InlineKeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  70. 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[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
  71. def sendLocation(chatId: ChatId, latitude: Float, longitude: Float, 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
  72. def sendMediaGroup(chatId: ChatId, media: List[InputMedia], disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean]): Method[List[Message]]
    Definition Classes
    Methods
  73. def sendMessage(chatId: ChatId, text: String, 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
  74. def sendPhoto(chatId: ChatId, photo: IFile, 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[Message]
    Definition Classes
    Methods
  75. 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], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  76. def sendSticker(chatId: ChatId, sticker: IFile, disableNotification: Option[Boolean], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  77. 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], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  78. 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], protectContent: Option[Boolean], replyToMessageId: Option[Int], allowSendingWithoutReply: Option[Boolean], replyMarkup: Option[KeyboardMarkup]): Method[Message]
    Definition Classes
    Methods
  79. def sendVideoNote(chatId: ChatId, videoNote: IFile, 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
  80. def sendVoice(chatId: ChatId, voice: IFile, 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
  81. def setChatAdministratorCustomTitle(chatId: ChatId, userId: Long, customTitle: String): Method[Boolean]
    Definition Classes
    Methods
  82. def setChatDescription(chatId: ChatId, description: Option[String]): Method[Boolean]
    Definition Classes
    Methods
  83. def setChatMenuButton(chatId: Option[Int], menuButton: Option[MenuButton]): Method[Boolean]
    Definition Classes
    Methods
  84. def setChatPermissions(chatId: ChatId, permissions: ChatPermissions): Method[Boolean]
    Definition Classes
    Methods
  85. def setChatPhoto(chatId: ChatId, photo: IFile): Method[Boolean]
    Definition Classes
    Methods
  86. def setChatStickerSet(chatId: ChatId, stickerSetName: String): Method[Boolean]
    Definition Classes
    Methods
  87. def setChatTitle(chatId: ChatId, title: String): Method[Boolean]
    Definition Classes
    Methods
  88. 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
  89. def setMyCommands(commands: List[BotCommand], scope: Option[BotCommandScope], languageCode: Option[String]): Method[Boolean]
    Definition Classes
    Methods
  90. def setMyDefaultAdministratorRights(rights: Option[ChatAdministratorRights], forChannels: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  91. def setPassportDataErrors(userId: Long, errors: List[PassportElementError]): Method[Boolean]
    Definition Classes
    Methods
  92. def setStickerPositionInSet(sticker: String, position: Int): Method[Boolean]
    Definition Classes
    Methods
  93. def setStickerSetThumb(name: String, userId: Long, thumb: Option[IFile]): Method[Boolean]
    Definition Classes
    Methods
  94. 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
  95. def stopMessageLiveLocation(chatId: Option[ChatId], messageId: Option[Int], inlineMessageId: Option[String], replyMarkup: Option[InlineKeyboardMarkup]): Method[Either[Boolean, Message]]
    Definition Classes
    Methods
  96. def stopPoll(chatId: ChatId, messageId: Int, replyMarkup: Option[InlineKeyboardMarkup]): Method[Poll]
    Definition Classes
    Methods
  97. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  98. def toString(): String
    Definition Classes
    AnyRef → Any
  99. def unbanChatMember(chatId: ChatId, userId: Long, onlyIfBanned: Option[Boolean]): Method[Boolean]
    Definition Classes
    Methods
  100. def unbanChatSenderChat(chatId: ChatId, senderChatId: Int): Method[Boolean]
    Definition Classes
    Methods
  101. def unpinAllChatMessages(chatId: ChatId): Method[Boolean]
    Definition Classes
    Methods
  102. def unpinChatMessage(chatId: ChatId, messageId: Option[Int]): Method[Boolean]
    Definition Classes
    Methods
  103. def uploadStickerFile(userId: Long, pngSticker: IFile): Method[File]
    Definition Classes
    Methods
  104. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  105. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  106. 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