serialize

open override fun serialize(encoder: Encoder, value: KeyboardButtonPollType)

Crutch due to the fact that direct serialization of objects currently does not work perfectly