Class User
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.User
-
- All Implemented Interfaces:
Serializable,BotApiObject
public class User extends Object implements BotApiObject
- Version:
- 3.0 This object represents a Telegram user or bot.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BooleangetBot()BooleangetCanJoinGroups()BooleangetCanReadAllGroupMessages()StringgetFirstName()IntegergetId()StringgetLanguageCode()StringgetLastName()BooleangetSupportInlineQueries()StringgetUserName()inthashCode()StringtoString()
-
-
-
Method Detail
-
getId
public Integer getId()
-
getFirstName
public String getFirstName()
-
getLastName
public String getLastName()
-
getUserName
public String getUserName()
-
getLanguageCode
public String getLanguageCode()
-
getBot
public Boolean getBot()
-
getCanJoinGroups
public Boolean getCanJoinGroups()
-
getCanReadAllGroupMessages
public Boolean getCanReadAllGroupMessages()
-
getSupportInlineQueries
public Boolean getSupportInlineQueries()
-
-