abstract class
Telecr::Types::BaseType
- Telecr::Types::BaseType
- Reference
- Object
Overview
Base class for all Telegram API objects
Direct Known Subclasses
- Telecr::Types::CallbackQuery
- Telecr::Types::Chat
- Telecr::Types::ChatJoinRequest
- Telecr::Types::ChatMemberUpdated
- Telecr::Types::ChosenInlineResult
- Telecr::Types::InlineQuery
- Telecr::Types::Message
- Telecr::Types::MessageEntity
- Telecr::Types::Poll
- Telecr::Types::PollAnswer
- Telecr::Types::PreCheckoutQuery
- Telecr::Types::ShippingQuery
- Telecr::Types::Update
- Telecr::Types::User
Defined in:
api/types.crConstructors
Instance Method Summary
-
#inspect(io : IO) : Nil
Inspect for debugging
-
#raw : Hash(String, JSON::Any)
Raw data from Telegram
-
#to_h : Hash(String, JSON::Any)
Convert back to hash
-
#to_s(io : IO) : Nil
String representation