Class TdApi.ChatEventUsernameChanged

  • Enclosing class:
    TdApi

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

      Fields 
      Modifier and Type Field Description
      static int CONSTRUCTOR
      Identifier uniquely determining type of the object.
      java.lang.String newUsername
      New chat username.
      java.lang.String oldUsername
      Previous chat username.
    • Field Detail

      • oldUsername

        public java.lang.String oldUsername
        Previous chat username.
      • newUsername

        public java.lang.String newUsername
        New chat username.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ChatEventUsernameChanged

        public ChatEventUsernameChanged()
        Default constructor.
      • ChatEventUsernameChanged

        public ChatEventUsernameChanged​(java.lang.String oldUsername,
                                        java.lang.String newUsername)
        Constructor for initialization of all fields.
        Parameters:
        oldUsername - Previous chat username.
        newUsername - New chat username.