1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-06-03 00:15:27 +00:00
tgbotapi/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/MessageEntity/textsources/PhoneNumberTextSource.kt

19 lines
1000 B
Kotlin
Raw Normal View History

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