rfc: bot messages and buttons, core: command markdown, supported commands in profile preferences, chat sessions preference, peer type field in profile to identify bots (#5360)

* rfc: bot messages and buttons

* update

* update bot rfc

* core: add bot commands to chat preferences and peer type to profile

* update postgresql schema

* update query plans

* chat sessions preference

* markdown for bot commands

* schema

* core: file preference, options to create bot from CLI

* core: different command type

* ios: commands menu

* update types

* update ios

* improve command markdown

* core, ios: update types

* android, desktop: clickable commands in messages in chats with bots

* android, desktop: commands menu

* command menu button, bot icon

* ios: connect flow for bots

* android, desktop: connect flow for bots

* icon

* CLI commands to view and set commands, remove "hidden" property of command, bot api docs

* corrections

* fix inheriting profile preferences to business groups

* note on business address

* ios: export localizations

* fix test

* commands to set file preference on user/contact, tidy up layout and display of command and attachment buttons
This commit is contained in:
Evgeny authored and GitHub committed 2025-08-07 11:13:35 +01:00
1 parent 9596029c30
commit 4811d663e6
93 files changed
+2810 -466

No files matched your search

@@ -0,0 +1,21 @@
{-# LANGUAGE QuasiQuotes #-}
module Simplex.Chat.Store.Postgres.Migrations.M20250802_chat_peer_type where
import Data.Text (Text)
import qualified Data.Text as T
import Text.RawString.QQ (r)
m20250802_chat_peer_type :: Text
m20250802_chat_peer_type =
T.pack
[r|
ALTER TABLE contact_profiles ADD COLUMN chat_peer_type TEXT;
|]
down_m20250802_chat_peer_type :: Text
down_m20250802_chat_peer_type =
T.pack
[r|
ALTER TABLE contact_profiles DROP COLUMN chat_peer_type;
|]
@@ -333,7 +333,8 @@ CREATE TABLE test_chat_schema.contact_profiles (
local_alias text DEFAULT ''::text NOT NULL,
preferences text,
contact_link bytea,
short_descr text
short_descr text,
chat_peer_type text
);