readChatType

inline fun <T> InputStream.readChatType(): Outcome<Chat.Type<T>>