struct

Telegram::BackgroundFillFreeformGradient

Inherits JSON::Serializable < Struct < Value < Object

Telegram API type: BackgroundFillFreeformGradient The background is a freeform gradient that rotates after every message in the chat.

Constructors

new(type : String, colors : Array(Int64))
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

clone
Source
colors
copy_with(type _type = @type, colors _colors = @colors)
Source
type