Class: TD::Types::UserStatus::LastWeek

Inherits:
TD::Types::UserStatus show all
Defined in:
lib/tdlib/types/user_status/last_week.rb

Overview

The user is offline, but was online last week.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#by_my_privacy_settingsBoolean

Exact user’s status is hidden because the current user enabled TD::Types::UserPrivacySetting::ShowStatus privacy setting for the user and has no Telegram Premium.

Returns:

  • (Boolean)

    the current value of by_my_privacy_settings



6
7
8
# File 'lib/tdlib/types/user_status/last_week.rb', line 6

def by_my_privacy_settings
  @by_my_privacy_settings
end