Closed elbekD closed 4 years ago
@elbekD I would like to work on this.
nice. when you're done, create pull request to master branch
@elbekD I am having problem while running tests.
At this line, in file TelegramBotTest.kt
:
val reader = Files.newBufferedReader(Paths.get("<>"))
Its throwing java.nio.file.NoSuchFileException: <>
.
Can you send me your config file with removed token and other sensitive info and replaced with dummy values?
{
"token": "",
"userId": 0,
"resourcePath": "",
"photos": [
"",
""
],
"video": "",
"animation": "",
"thumb": "",
"voice": "",
"msgId": 0,
"audio": "",
"document": "",
"videoNote": "",
"location": {
"latitude": 0.0,
"longitude": 0.0
},
"contact": {
"phone": "",
"firstName": "",
"lastName": ""
},
"fileId": "",
"groupChatId": 0,
"kikMemberId": 0,
"stickerSetName": "",
"sendStickerUrl": "",
"createStickerSet": {
"userId": 0,
"name": "",
"title": "",
"createStickerFilename": "",
"addStickerFilename": "",
"emojisCreate": "",
"emojisAdd": ""
},
"game": {
"name": ""
},
"invoice": {
"title": "",
"desc": "",
"payload": "",
"token": "",
"param": "",
"currency": "",
"prices": [
"",
""
],
"email": false,
"phone": false,
"address": false
}
}
This is how it looks. Just fill it, put file into preferable location and provide with absolute path
@elbekD I would like to work on this.