Packages

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
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. User
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val canJoinGroups: Option[Boolean]
  6. val canReadAllGroupMessages: Option[Boolean]
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. val firstName: String
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. val id: Int
  13. val isBot: Boolean
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. val languageCode: Option[String]
  16. val lastName: Option[String]
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. val supportsInlineQueries: Option[Boolean]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. val username: Option[String]
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped