2020-10-04 11:06:30 +00:00
|
|
|
package dev.inmo.tgbotapi.types.MessageEntity.textsources
|
2020-01-02 17:10:30 +00:00
|
|
|
|
2020-11-06 12:52:59 +00:00
|
|
|
/**
|
|
|
|
* @see strikethrough
|
|
|
|
*/
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("StrikethroughTextSource", "dev.inmo.tgbotapi.types.message.textsources.StrikethroughTextSource"))
|
|
|
|
typealias StrikethroughTextSource = dev.inmo.tgbotapi.types.message.textsources.StrikethroughTextSource
|
2020-11-06 12:52:59 +00:00
|
|
|
|
|
|
|
@Suppress("NOTHING_TO_INLINE")
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("strikethrough", "dev.inmo.tgbotapi.types.message.textsources.strikethrough"))
|
|
|
|
inline fun strikethrough(parts: TextSourcesList) = dev.inmo.tgbotapi.types.message.textsources.strikethrough(parts)
|
2020-11-06 12:52:59 +00:00
|
|
|
@Suppress("NOTHING_TO_INLINE")
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("strikethrough", "dev.inmo.tgbotapi.types.message.textsources.strikethrough"))
|
|
|
|
inline fun strikethrough(vararg parts: TextSource) = dev.inmo.tgbotapi.types.message.textsources.strikethrough(*parts)
|
2020-11-06 12:52:59 +00:00
|
|
|
@Suppress("NOTHING_TO_INLINE")
|
2022-05-01 14:36:07 +00:00
|
|
|
@Deprecated("Replaced", ReplaceWith("strikethrough", "dev.inmo.tgbotapi.types.message.textsources.strikethrough"))
|
|
|
|
inline fun strikethrough(text: String) = dev.inmo.tgbotapi.types.message.textsources.strikethrough(text)
|