ChatInviteLink
telegramium.bots.ChatInviteLink
final case class ChatInviteLink(inviteLink: String, creator: User, createsJoinRequest: Boolean, isPrimary: Boolean, isRevoked: Boolean, name: Option[String], expireDate: Option[Int], memberLimit: Option[Int], pendingJoinRequestCount: Option[Int])
Represents an invite link for a chat.
Value parameters
- createsJoinRequest
-
True, if users joining the chat via the link need to be approved by chat administrators
- creator
-
Creator of the link
- expireDate
-
Optional. Point in time (Unix timestamp) when the link will expire or has been expired
- inviteLink
-
The invite link. If the link was created by another chat administrator, then the second part of the link will be replaced with “…”.
- isPrimary
-
True, if the link is primary
- isRevoked
-
True, if the link is revoked
- memberLimit
-
Optional. The maximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
- name
-
Optional. Invite link name
- pendingJoinRequestCount
-
Optional. Number of pending join requests created using this link
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article