ChatIdSerializer

The serializer of ChatId. It is only recommended for deserialization scenarios.

In the deserialization of this serializer, it will be assumed that the string type chatId begins with '@'.

See also

Properties

Link copied to clipboard
open override val descriptor: SerialDescriptor

Functions

Link copied to clipboard
open override fun deserialize(decoder: Decoder): ChatId
Link copied to clipboard
open override fun serialize(encoder: Encoder, value: ChatId)