getChat static method

Future<Chat> getChat(
  1. ChatId id
)

Implementation

static Future<Chat> getChat(ChatId id) {
  return NativeBridge.async('Communities.getChat', jsonEncode(id))
      .then((result) => Chat.fromJSON(jsonDecode(result)));
}