WriteAccessAllowed

telegramium.bots.WriteAccessAllowed
final case class WriteAccessAllowed(fromRequest: Option[Boolean], webAppName: Option[String], fromAttachmentMenu: Option[Boolean])

This object represents a service message about a user allowing a bot to write messages after adding it to the attachment menu, launching a Web App from a link, or accepting an explicit request from a Web App sent by the method requestWriteAccess.

Value parameters

fromAttachmentMenu

Optional. True, if the access was granted when the bot was added to the attachment or side menu

fromRequest

Optional. True, if the access was granted after the user accepted an explicit request from a Web App sent by the method requestWriteAccess

webAppName

Optional. Name of the Web App, if the access was granted when the Web App was launched from a link

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product