ChatMemberRestricted

final case class ChatMemberRestricted(status: String, user: User, isMember: Boolean, canChangeInfo: Boolean, canInviteUsers: Boolean, canPinMessages: Boolean, canManageTopics: Boolean, canSendMessages: Boolean, canSendMediaMessages: Boolean, canSendPolls: Boolean, canSendOtherMessages: Boolean, canAddWebPagePreviews: Boolean, untilDate: Int) extends ChatMember

Represents a chat member that is under certain restrictions in the chat. Supergroups only.

Value parameters:
canAddWebPagePreviews

True, if the user is allowed to add web page previews to their messages

canChangeInfo

True, if the user is allowed to change the chat title, photo and other settings

canInviteUsers

True, if the user is allowed to invite new users to the chat

canManageTopics

True, if the user is allowed to create forum topics

canPinMessages

True, if the user is allowed to pin messages

canSendMediaMessages

True, if the user is allowed to send audios, documents, photos, videos, video notes and voice notes

canSendMessages

True, if the user is allowed to send text messages, contacts, locations and venues

canSendOtherMessages

True, if the user is allowed to send animations, games, stickers and use inline bots

canSendPolls

True, if the user is allowed to send polls

isMember

True, if the user is a member of the chat at the moment of the request

status

The member's status in the chat, always “restricted”

untilDate

Date when restrictions will be lifted for this user; unix time. If 0, then the user is restricted forever

user

Information about the user

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product