Sha256: 070b1fc2a0355497891536ce4881bb5a53396e4b0f1f6c90de4457724c2a80d7
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
module TD::Types # Contains information about notification settings for a chat. # # @attr use_default_mute_for [Boolean] If true, mute_for is ignored and the value for the relevant type of chat is # used instead. # @attr mute_for [Integer] Time left before notifications will be unmuted, in seconds. # @attr use_default_sound [Boolean] If true, sound is ignored and the value for the relevant type of chat is used # instead. # @attr sound [String] The name of an audio file to be used for notification sounds; only applies to iOS # applications. # @attr use_default_show_preview [Boolean] If true, show_preview is ignored and the value for the relevant type of # chat is used instead. # @attr show_preview [Boolean] True, if message content should be displayed in notifications. class ChatNotificationSettings < Base attribute :use_default_mute_for, TD::Types::Bool attribute :mute_for, TD::Types::Integer attribute :use_default_sound, TD::Types::Bool attribute :sound, TD::Types::String attribute :use_default_show_preview, TD::Types::Bool attribute :show_preview, TD::Types::Bool end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tdlib-ruby-2.0.0 | lib/tdlib/types/chat_notification_settings.rb |