mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-16 14:55:26 +00:00
Fix of linkln
This commit is contained in:
parent
e19561367e
commit
8baa601af7
|
@ -429,7 +429,7 @@ inline fun EntitiesBuilder.link(text: String, url: String) = add(dev.inmo.tgbota
|
||||||
/**
|
/**
|
||||||
* Version of [EntitiesBuilder.link] with new line at the end
|
* Version of [EntitiesBuilder.link] with new line at the end
|
||||||
*/
|
*/
|
||||||
inline fun EntitiesBuilder.linkln(text: String, url: String) = link(text) + newLine
|
inline fun EntitiesBuilder.linkln(text: String, url: String) = link(text, url) + newLine
|
||||||
/**
|
/**
|
||||||
* Add link using [EntitiesBuilder.add] with [dev.inmo.tgbotapi.types.MessageEntity.textsources.link]
|
* Add link using [EntitiesBuilder.add] with [dev.inmo.tgbotapi.types.MessageEntity.textsources.link]
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue
Block a user