1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-29 22:27:42 +02:00
Files
OpenIntegrations/docs/en/examples/Bitrix24/MarkMessageAsReaded.txt

17 lines
487 B
Plaintext
Raw Normal View History

2025-10-21 11:36:43 +03:00
 URL = "https://b24-ar17wx.bitrix24.by/rest/1/h0m...";
2025-10-21 21:43:05 +03:00
ChatID = "3278";
2025-08-18 16:58:37 +03:00
2025-07-06 01:01:25 +03:00
OPI_TypeConversion.GetLine(ChatID);
ChatString = "chat" + ChatID;
2025-10-21 21:43:05 +03:00
MessageID = "65102";
2025-08-18 16:58:37 +03:00
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, ChatString, MessageID);
2025-07-06 01:01:25 +03:00
2025-10-21 11:36:43 +03:00
URL = "b24-ar17wx.bitrix24.by";
2025-10-21 21:43:05 +03:00
Token = "0ebbf768006e9f06006b12e400000001000...";
2025-07-06 01:01:25 +03:00
UserID = 10;
2025-10-21 21:43:05 +03:00
MessageID = "65104";
2025-07-06 01:01:25 +03:00
Result = OPI_Bitrix24.MarkMessageAsReaded(URL, UserID, MessageID, Token);