create static method

ChatId create(
  1. String id
)

Create a single ChatId instance.

id Chat Id.

Implementation

static ChatId create(String id) {
  ChatId instance = new ChatId();
  instance._id = id;
  return instance;
}