| Package | Description |
|---|---|
| api.longpoll.bots |
Main classes.
|
| api.longpoll.bots.exceptions |
Exceptions occur in Java VK Bots Long Poll API library.
|
| api.longpoll.bots.helpers.attachments |
Helper classes to upload attachments.
|
| api.longpoll.bots.methods.impl |
Implementation of VK API methods.
|
| api.longpoll.bots.methods.impl.messages |
Methods to work with messages.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LongPollBot.startPolling()
Begins listening to VK updates.
|
void |
LongPollBot.startPolling()
Begins listening to VK updates.
|
| Modifier and Type | Class and Description |
|---|---|
class |
VkApiHttpException
Occurs when server returns HTTP code 400 or higher.
|
class |
VkApiResponseException
A checked exception occurs in Java VK Bots Long Poll API library when VK server returns error JSON.
|
| Modifier and Type | Method and Description |
|---|---|
UploadedFile |
InputStreamUploadableMessageDoc.upload() |
UploadedFile |
InputStreamUploadableMessagePhoto.upload() |
UploadedFile |
PathUploadableMessageDoc.upload() |
UploadedFile |
PathUploadableMessagePhoto.upload() |
UploadedFile |
UploadableFile.upload()
Uploads a file to VK server.
|
UploadedFile |
UploadableFile.upload()
Uploads a file to VK server.
|
UploadedFile |
PathUploadableMessagePhoto.upload() |
UploadedFile |
PathUploadableMessageDoc.upload() |
UploadedFile |
InputStreamUploadableMessagePhoto.upload() |
UploadedFile |
InputStreamUploadableMessageDoc.upload() |
abstract UploadedFile |
AbstractUploadableFile.uploadFile(String filename,
InputStream inputStream)
Uploads a file to VK server.
|
UploadedFile |
UploadableMessageDoc.uploadFile(String filename,
InputStream inputStream) |
UploadedFile |
UploadableMessagePhoto.uploadFile(String filename,
InputStream inputStream) |
UploadedFile |
UploadableMessagePhoto.uploadFile(String filename,
InputStream inputStream) |
UploadedFile |
UploadableMessageDoc.uploadFile(String filename,
InputStream inputStream) |
abstract UploadedFile |
AbstractUploadableFile.uploadFile(String filename,
InputStream inputStream)
Uploads a file to VK server.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseBody |
VkMethod.execute()
Executes request to VK API.
|
ResponseBody |
VkMethod.execute()
Executes request to VK API.
|
| Modifier and Type | Method and Description |
|---|---|
IntegerResponseBody |
Edit.execute() |
Send.ResponseBody |
Send.execute() |
Send.ResponseBody |
Send.execute() |
IntegerResponseBody |
Edit.execute() |
Copyright © 2022. All rights reserved.