2020-10-04 11:06:30 +00:00
|
|
|
package dev.inmo.tgbotapi.types.MessageEntity.textsources
|
2019-12-11 08:06:09 +00:00
|
|
|
|
2020-11-06 12:52:59 +00:00
|
|
|
/**
|
|
|
|
* @see hashtag
|
|
|
|
*/
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("HashTagTextSource", "dev.inmo.tgbotapi.types.message.textsources.HashTagTextSource"))
|
|
|
|
typealias HashTagTextSource = dev.inmo.tgbotapi.types.message.textsources.HashTagTextSource
|
2020-11-06 12:52:59 +00:00
|
|
|
|
|
|
|
@Suppress("NOTHING_TO_INLINE", "EXPERIMENTAL_API_USAGE")
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("hashtag", "dev.inmo.tgbotapi.types.message.textsources.hashtag"))
|
|
|
|
inline fun hashtag(parts: TextSourcesList) = dev.inmo.tgbotapi.types.message.textsources.hashtag(parts)
|
2020-11-06 12:52:59 +00:00
|
|
|
@Suppress("NOTHING_TO_INLINE")
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("hashtag", "dev.inmo.tgbotapi.types.message.textsources.hashtag"))
|
|
|
|
inline fun hashtag(vararg parts: TextSource) = dev.inmo.tgbotapi.types.message.textsources.hashtag(*parts)
|
2020-11-06 12:52:59 +00:00
|
|
|
/**
|
|
|
|
* Without sharp (#)
|
|
|
|
*/
|
|
|
|
@Suppress("NOTHING_TO_INLINE")
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("hashtag", "dev.inmo.tgbotapi.types.message.textsources.hashtag"))
|
|
|
|
inline fun hashtag(hashtag: String) = dev.inmo.tgbotapi.types.message.textsources.hashtag(hashtag)
|