Package it.tdlight.jni
Class TdApi.ChatEventUsernameChanged
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.ChatEventAction
it.tdlight.jni.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
String
newUsername
New chat username.String
oldUsername
Previous chat username. -
Constructor Summary
Constructors Constructor Description ChatEventUsernameChanged()
The chat username was changed.ChatEventUsernameChanged(DataInput input)
ChatEventUsernameChanged(String oldUsername, String newUsername)
The chat username was changed. -
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutputStream output)
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
oldUsername
Previous chat username. -
newUsername
New chat username. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
ChatEventUsernameChanged
public ChatEventUsernameChanged()The chat username was changed. -
ChatEventUsernameChanged
The chat username was changed.- Parameters:
oldUsername
- String Previous chat username.newUsername
- String New chat username.
-
ChatEventUsernameChanged
- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-