Skip to content

Bridge Message exposure #7774

Description

@nickninov

Description

Please serialize BridgeMessage so bridged messages can be sent from status-im/status-python-sdk.

Code example:

public_key= "public-key-here"

params = [
    {
        "chatId": public_key,
        "text": "",
        "contentType": 18,
        "bridgeMessage": {
            "bridgeName": "discord",
            "userName": "thedatabro",
            "userAvatar": "",
            "userID": "123",
            "content": "Meme here",
            "messageID": "456",
            "parentMessageID": "789",
        },
    }
]
account._call_rpc("messaging", "sendChatMessage", params)

Error message:

{'jsonrpc': '2.0',
 'id': None,
 'error': {'code': -32603, 'message': 'method handler crashed'}}

Related to:

Metadata

Metadata

Assignees

Labels

APIgoPull requests that update go code

Type

Projects

Status
Next

Relationships

None yet

Development

No branches or pull requests

Issue actions