final case class User(id: Int, isBot: Boolean, firstName: String, lastName: Option[String], username: Option[String], languageCode: Option[String], canJoinGroups: Option[Boolean], canReadAllGroupMessages: Option[Boolean], supportsInlineQueries: Option[Boolean]) extends Product with Serializable
Telegram user or bot.
- id
Unique identifier
- isBot
True, if this user is a bot
- firstName
User's or bot's first name
- lastName
User's or bot's last name
- username
User's or bot's username
- languageCode
IETF language tag of the user's language
- canJoinGroups
True, if the bot can be invited to groups. Returned only in getMe.
- canReadAllGroupMessages
True, if privacy mode is disabled for the bot. Returned only in getMe.
- supportsInlineQueries
True, if the bot supports inline queries. Returned only in getMe.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- User
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
User(id: Int, isBot: Boolean, firstName: String, lastName: Option[String], username: Option[String], languageCode: Option[String], canJoinGroups: Option[Boolean], canReadAllGroupMessages: Option[Boolean], supportsInlineQueries: Option[Boolean])
- id
Unique identifier
- isBot
True, if this user is a bot
- firstName
User's or bot's first name
- lastName
User's or bot's last name
- username
User's or bot's username
- languageCode
IETF language tag of the user's language
- canJoinGroups
True, if the bot can be invited to groups. Returned only in getMe.
- canReadAllGroupMessages
True, if privacy mode is disabled for the bot. Returned only in getMe.
- supportsInlineQueries
True, if the bot supports inline queries. Returned only in getMe.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val canJoinGroups: Option[Boolean]
- val canReadAllGroupMessages: Option[Boolean]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val firstName: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val id: Int
- val isBot: Boolean
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val languageCode: Option[String]
- val lastName: Option[String]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val supportsInlineQueries: Option[Boolean]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val username: Option[String]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )