Sha256: 1cee8c34e4fb7ccbbb7d8c3f794e479e438fc60dd34fac4e8e00f0ad06a536c7
Contents?: true
Size: 1.26 KB
Versions: 2
Compression:
Stored size: 1.26 KB
Contents
module TD::Types # A dice message. # The dice value is randomly generated by the server. # # @attr initial_state [TD::Types::DiceStickers, nil] The animated stickers with the initial dice animation; may be # null if unknown. # {TD::Types::Update::MessageContent} will be sent when the sticker became known. # @attr final_state [TD::Types::DiceStickers, nil] The animated stickers with the final dice animation; may be null # if unknown. # {TD::Types::Update::MessageContent} will be sent when the sticker became known. # @attr emoji [TD::Types::String] Emoji on which the dice throw animation is based. # @attr value [Integer] The dice value. # If the value is 0, the dice don't have final state yet. # @attr success_animation_frame_number [Integer] Number of frame after which a success animation like a shower of # confetti needs to be shown on updateMessageSendSucceeded. class MessageContent::Dice < MessageContent attribute :initial_state, TD::Types::DiceStickers.optional.default(nil) attribute :final_state, TD::Types::DiceStickers.optional.default(nil) attribute :emoji, TD::Types::String attribute :value, TD::Types::Coercible::Integer attribute :success_animation_frame_number, TD::Types::Coercible::Integer end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.3 | lib/tdlib/types/message_content/dice.rb |
tdlib-schema-1.7.0.2 | lib/tdlib/types/message_content/dice.rb |