Class: TD::Types::ChatEventAction::UsernameChanged

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

Overview

The chat username was changed.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#to_hash, #to_json

Instance Attribute Details

#new_usernameTD::Types::String

New chat username.

Returns:

  • (TD::Types::String)

    the current value of new_username



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

def new_username
  @new_username
end

#old_usernameTD::Types::String

Previous chat username.

Returns:

  • (TD::Types::String)

    the current value of old_username



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

def old_username
  @old_username
end