Class: TD::Types::DiceStickers::SlotMachine

Inherits:
TD::Types::DiceStickers show all
Defined in:
lib/tdlib/types/dice_stickers/slot_machine.rb

Overview

Animated stickers to be combined into a slot machine.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#backgroundTD::Types::Sticker

The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish.

Returns:



11
12
13
# File 'lib/tdlib/types/dice_stickers/slot_machine.rb', line 11

def background
  @background
end

#center_reelTD::Types::Sticker

The animated sticker with the center reel.

Returns:



11
12
13
# File 'lib/tdlib/types/dice_stickers/slot_machine.rb', line 11

def center_reel
  @center_reel
end

#left_reelTD::Types::Sticker

The animated sticker with the left reel.

Returns:



11
12
13
# File 'lib/tdlib/types/dice_stickers/slot_machine.rb', line 11

def left_reel
  @left_reel
end

#leverTD::Types::Sticker

The animated sticker with the lever animation. The lever animation must play once in the initial dice state.

Returns:



11
12
13
# File 'lib/tdlib/types/dice_stickers/slot_machine.rb', line 11

def lever
  @lever
end

#right_reelTD::Types::Sticker

The animated sticker with the right reel.

Returns:



11
12
13
# File 'lib/tdlib/types/dice_stickers/slot_machine.rb', line 11

def right_reel
  @right_reel
end