RestrictedMemberChatMember
@Serializable
Represents ChatMemberRestricted
from telegram bots api and means that member is still member of chat but has been restricted in his rights
Constructors
Link copied to clipboard
constructor(user: PreviewUser, untilDate: TelegramDate? = null, isMember: Boolean = false, canSendMessages: Boolean = false, canSendAudios: Boolean = false, canSendDocuments: Boolean = false, canSendPhotos: Boolean = false, canSendVideos: Boolean = false, canSendVideoNotes: Boolean = false, canSendVoiceNotes: Boolean = false, canSendPolls: Boolean = false, canSendOtherMessages: Boolean = false, canAddWebPagePreviews: Boolean = false, canChangeInfo: Boolean = false, canInviteUsers: Boolean = false, canPinMessages: Boolean = false, canManageTopics: Boolean = false)
Properties
Link copied to clipboard
@SerialName(value = "can_add_web_page_previews")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "can_send_other_messages")
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
open fun copyCommon(canSendPolls: Boolean? = this.canSendPolls, canSendOtherMessages: Boolean? = this.canSendOtherMessages, canAddWebPagePreviews: Boolean? = this.canAddWebPagePreviews, canChangeInfo: Boolean? = this.canChangeInfo, canInviteUsers: Boolean? = this.canInviteUsers, canPinMessages: Boolean? = this.canPinMessages): ChatPermissions
Copying current instance as ChatPermissions, but realizations of this interface may differently override this method
Link copied to clipboard
open fun copyGranular(canSendMessages: Boolean? = this.canSendMessages, canSendAudios: Boolean? = this.canSendAudios, canSendDocuments: Boolean? = this.canSendDocuments, canSendPhotos: Boolean? = this.canSendPhotos, canSendVideos: Boolean? = this.canSendVideos, canSendVideoNotes: Boolean? = this.canSendVideoNotes, canSendVoiceNotes: Boolean? = this.canSendVoiceNotes, canSendPolls: Boolean? = this.canSendPolls, canSendOtherMessages: Boolean? = this.canSendOtherMessages, canAddWebPagePreviews: Boolean? = this.canAddWebPagePreviews, canChangeInfo: Boolean? = this.canChangeInfo, canInviteUsers: Boolean? = this.canInviteUsers, canPinMessages: Boolean? = this.canPinMessages): ChatPermissions
Copying current instance as ChatPermissions, but realizations of this interface may differently override this method