2024-05-21 11:50:45 +00:00
|
|
|
version 1 .
|
|
|
|
|
2024-05-22 03:59:13 +00:00
|
|
|
# Assert to the actor to register a dataspace for interaction.
|
2024-05-21 11:50:45 +00:00
|
|
|
TelegramArguments = <telegram-client {
|
|
|
|
dataspace: #:any
|
|
|
|
}>.
|
|
|
|
|
2024-05-22 03:59:13 +00:00
|
|
|
# Assertion made to when the client is ready to process messages.
|
2024-05-21 11:50:45 +00:00
|
|
|
TelegramReady = <telegram-ready> .
|
2024-05-22 03:59:13 +00:00
|
|
|
|
|
|
|
# Asserted to telegram-client to expose TDLib messages.
|
|
|
|
# Messages received from and sent to TDLib are in the
|
|
|
|
# form of <recv {…}> and <sent {…}> respectively.
|
|
|
|
TDLibClient = <tdlib @messages #:any>.
|