public class ChatId
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static ChatId |
create(java.lang.String id)
Create a new ChatId instance.
|
static ChatId |
createWithUserId(UserId userId)
Create a new ChatId instance with user id.
|
java.lang.String |
getId() |
UserId |
getUserId() |
java.lang.String |
toString() |
public static ChatId create(java.lang.String id)
id
- Chat id.public static ChatId createWithUserId(UserId userId)
userId
- User id.public java.lang.String getId()
public UserId getUserId()
public java.lang.String toString()
toString
in class java.lang.Object
(c) Copyright GetSocial BV, 2022. All Rights Reserved.