Class: TD::Types::ReadDatePrivacySettings

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

Overview

Contains privacy settings for message read date in private chats. Read dates are always shown to the users that can see online status of the current user regardless of this setting.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#show_read_dateBoolean

True, if message read date is shown to other users in private chats. If false and the current user isn’t a Telegram Premium user, then they will not be able to see other’s message read date.

Returns:

  • (Boolean)

    the current value of show_read_date



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

def show_read_date
  @show_read_date
end