Class: TD::Types::ChatPhotoSticker

Inherits:
Base
  • Object
show all
Defined in:
lib/tdlib/types/chat_photo_sticker.rb

Overview

Information about the sticker, which was used to create the chat photo. The sticker is shown at the center of the photo and occupies at most 67% of it.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#background_fillTD::Types::BackgroundFill

The fill to be used as background for the sticker; rotation angle in BackgroundFill::Gradient isn’t supported.

Returns:



8
9
10
# File 'lib/tdlib/types/chat_photo_sticker.rb', line 8

def background_fill
  @background_fill
end

#typeTD::Types::ChatPhotoStickerType

Type of the sticker.

Returns:



8
9
10
# File 'lib/tdlib/types/chat_photo_sticker.rb', line 8

def type
  @type
end