mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-02 16:05:28 +00:00
13 lines
588 B
Kotlin
13 lines
588 B
Kotlin
package com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity
|
|
|
|
import com.github.insanusmokrassar.TelegramBotAPI.CommonAbstracts.TextSource
|
|
import com.github.insanusmokrassar.TelegramBotAPI.types.MessageEntity.textsources.PhoneNumberTextSource
|
|
import com.github.insanusmokrassar.TelegramBotAPI.utils.phoneHTML
|
|
import com.github.insanusmokrassar.TelegramBotAPI.utils.phoneMarkdown
|
|
|
|
data class PhoneNumberMessageEntity(
|
|
override val offset: Int,
|
|
override val length: Int,
|
|
override val rawSource: String
|
|
) : MessageEntity, TextSource by PhoneNumberTextSource(rawSource)
|