Sha256: 50f556c247d508c522f067473419b4d86ccf534e03412549f31549b0dee3ab24
Contents?: true
Size: 1.23 KB
Versions: 1
Compression:
Stored size: 1.23 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 [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::Integer attribute :success_animation_frame_number, TD::Types::Integer end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-schema-1.7.0.1 | lib/tdlib/types/message_content/dice.rb |