Class: TD::Types::ChatEventAction::SlowModeDelayChanged

Inherits:
TD::Types::ChatEventAction show all
Defined in:
lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb

Overview

The slow_mode_delay setting of a supergroup was changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#new_slow_mode_delayInteger

New value of slow_mode_delay.

Returns:

  • (Integer)

    the current value of new_slow_mode_delay



6
7
8
# File 'lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb', line 6

def new_slow_mode_delay
  @new_slow_mode_delay
end

#old_slow_mode_delayInteger

Previous value of slow_mode_delay.

Returns:

  • (Integer)

    the current value of old_slow_mode_delay



6
7
8
# File 'lib/tdlib/types/chat_event_action/slow_mode_delay_changed.rb', line 6

def old_slow_mode_delay
  @old_slow_mode_delay
end