enum

AppPusher::TelegramPushService::TextFormat

Inherits Enum < Graphene::Serialize::Pack < Comparable < Value < Object

格式参考:https://core.telegram.org/bots/api#sendmessage

Constants

TEXT = 0_u8
MARK_DOWN = 1_u8
HTML = 2_u8

Instance methods

html?

Returns true if this enum value equals HTML

Source
mark_down?

Returns true if this enum value equals MARK_DOWN

Source
text?

Returns true if this enum value equals TEXT

Source