Module tdlight.api

Class TdApi.ChatEventUsernameChanged

Enclosing class:
TdApi

public static final class TdApi.ChatEventUsernameChanged extends TdApi.ChatEventAction
The chat username was changed.
  • Field Details

    • oldUsername

      public String oldUsername
      Previous chat username.
    • newUsername

      public String newUsername
      New chat username.
    • CONSTRUCTOR

      public static final int CONSTRUCTOR
      See Also:
  • Constructor Details

    • ChatEventUsernameChanged

      public ChatEventUsernameChanged()
      The chat username was changed.
    • ChatEventUsernameChanged

      public ChatEventUsernameChanged(String oldUsername, String newUsername)
      The chat username was changed.
      Parameters:
      oldUsername - String Previous chat username.
      newUsername - String New chat username.
    • ChatEventUsernameChanged

      public ChatEventUsernameChanged(DataInput input) throws IOException
      The chat username was changed.
      Throws:
      IOException
  • Method Details