mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-29 07:29:29 +01:00
Created Section VK (basic) (markdown)
parent
0907fbfea8
commit
85008014b1
30
Section-VK-(basic).md
Normal file
30
Section-VK-(basic).md
Normal file
@ -0,0 +1,30 @@
|
||||
```toml
|
||||
[vk.myvk]
|
||||
#Group access token
|
||||
Token="Yourtokenhere"
|
||||
|
||||
#Group ID
|
||||
#For example in URL https://vk.com/public168963511 group ID is 168963511
|
||||
GroupID=123456789
|
||||
|
||||
#If enabled this will relay attachments as URLs
|
||||
UseFileURL=false
|
||||
```
|
||||
# Setup
|
||||
|
||||
1. Create new group
|
||||
2. Manage > API Usage > Create Token
|
||||
3. Select scope as in the screenshot
|
||||
|
||||
![scope](https://user-images.githubusercontent.com/37155836/105666803-e2cfbf00-5efb-11eb-8d8a-5c674309336f.png)
|
||||
|
||||
4. Enable longpoll at version 5.126 and enable Message received event
|
||||
|
||||
![](https://user-images.githubusercontent.com/37155836/105666939-36420d00-5efc-11eb-9fa1-418aa9cb4a3f.png)
|
||||
![](https://user-images.githubusercontent.com/37155836/105667066-7903e500-5efc-11eb-9d31-d5cca5a7aac3.png)
|
||||
|
||||
5. Get GroupID from group URL
|
||||
```
|
||||
https://vk.com/public168963511
|
||||
^^^^^^^^^
|
||||
```
|
Loading…
Reference in New Issue
Block a user