class

Galileo::User

Inherits Reference / Object

Constructors

from_json(m : Hash(String, JSON::Any)) : User
Source
new(id : String, username : String, avatar_url : String, banner_url : String, bio : String, online : Bool, staff : Bool, last_online : String, current_room_id : String, display_name : String, num_following : Int32, num_followers : Int32, contributions : Int32, you_are_following : Bool, follows_you : Bool, bot_owner_id : String)
Source

Instance methods

avatar_url
Source
bot_owner_id

If user is not a bot this will be an empty string

Source
contributions
Source
current_room_id

If there is no current room id given this will be an empty string

Source
display_name
Source
follows_you
Source
last_online
Source
num_followers
Source
num_following
Source
online
Source
staff
Source
username
Source
you_are_following
Source