chatId property

int? get chatId

The ID of the conversation.

Implementation

int? get chatId {
  if (peerType != MessageSource.chat) {
    return null;
  }

  return peerId - peerChatIdOffset;
}