1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-04 15:49:41 +00:00

remove file link maker

This commit is contained in:
2020-01-20 22:38:45 +06:00
parent f99873dd70
commit 5f593439a3
2 changed files with 0 additions and 8 deletions

View File

@@ -1,6 +1,5 @@
package com.github.insanusmokrassar.TelegramBotAPI.utils
import com.github.insanusmokrassar.TelegramBotAPI.types.ChatId
import com.github.insanusmokrassar.TelegramBotAPI.types.MessageIdentifier
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.abstracts.PrivateChat
import com.github.insanusmokrassar.TelegramBotAPI.types.chat.abstracts.UsernameChat
@@ -35,9 +34,3 @@ fun makeLinkToMessage(
else -> return null
}
}
@PreviewFeature
fun makeFileLink(
botToken: String,
filePath: String
) = "https://api.telegram.org/file/bot$botToken/$filePath"