class TelegramBot::InputProfilePhotoAnimated

Included Modules

Defined in:

telegram_bot/types/business_profile.cr

Constructors

Instance Method Summary

Instance methods inherited from class TelegramBot::InputProfilePhoto

type : String type, type=(type : String) type=

Constructor methods inherited from class TelegramBot::InputProfilePhoto

new(pull : JSON::PullParser)
new(type : String)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
new

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(animation : String | AttachedFile, *, main_frame_timestamp : Float64 | Nil = nil) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

Instance Method Detail

def animation : String | AttachedFile #

def animation=(animation : String | AttachedFile) #

def collect_attachments(attachments : Hash(String, String | ::File)) : Nil #

def main_frame_timestamp : Float64 | Nil #

def main_frame_timestamp=(main_frame_timestamp : Float64 | Nil) #

def type : String #

def type=(type : String) #