libtd-ktx / kotlinx.telegram.flows / newChatFlow
newChatFlow
fun TelegramFlow.newChatFlow(): Flow<Chat>
emits Chat if a new chat has been loaded/created. This update is guaranteed to come before the chat identifier is returned to the client. The chat field changes will be reported through separate updates.