Skip to content

Commit b3b75f5

Browse files
committed
renamed GetConversationsMembersExample.java to GetConversationMembersExample.java.
Added LICENSE
1 parent a897820 commit b3b75f5

File tree

3 files changed

+25
-4
lines changed

3 files changed

+25
-4
lines changed

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2020 Yevhen Vasyliev
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Checkout the usage of [Java VK Bots Long Poll API](https://github.com/yvasyliev/
2121
* [Edit message](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/EditMessageExample.java)
2222
* [Get conversations by ID](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetConversationsByIdExample.java)
2323
* [Get conversations](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetConversationsExample.java)
24-
* [Get conversation members](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetConversationsMembersExample.java)
24+
* [Get conversation members](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetConversationMembersExample.java)
2525
* [Get history attachments](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetHistoryAttachmentsExample.java)
2626
* [Get history](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetHistoryExample.java)
2727
* [Get invite link](https://github.com/yvasyliev/java-vk-bots-long-poll-api-examples/blob/master/src/main/java/bot/longpoll/examples/messages/GetInviteLinkExample.java)

src/main/java/bot/longpoll/examples/messages/GetConversationsMembersExample.java src/main/java/bot/longpoll/examples/messages/GetConversationMembersExample.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
import java.util.concurrent.CompletableFuture;
1212

13-
public class GetConversationsMembersExample extends LongPollBot {
14-
private static final Logger log = LoggerFactory.getLogger(GetConversationsMembersExample.class);
13+
public class GetConversationMembersExample extends LongPollBot {
14+
private static final Logger log = LoggerFactory.getLogger(GetConversationMembersExample.class);
1515
private static final int PEER_ID = 2000000008;
1616

1717
public void editMessage() {
@@ -48,7 +48,7 @@ public int getGroupId() {
4848
}
4949

5050
public static void main(String[] args) {
51-
GetConversationsMembersExample example = new GetConversationsMembersExample();
51+
GetConversationMembersExample example = new GetConversationMembersExample();
5252
example.editMessage();
5353
example.editMessageAsync();
5454
}

0 commit comments

Comments
 (0)