mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
Drop SendEphemeral wrapper
This commit is contained in:
parent
97d7ff5c62
commit
8f6c5e9609
1 changed files with 0 additions and 5 deletions
|
|
@ -233,11 +233,6 @@ func (intent *IntentAPI) SendEphemeralEvent(ctx context.Context, roomID id.RoomI
|
|||
return intent.Client.SendEphemeralEvent(ctx, roomID, eventType, contentJSON, mautrix.ReqSendEvent{TransactionID: txnID})
|
||||
}
|
||||
|
||||
// Deprecated: use SendEphemeralEvent.
|
||||
func (intent *IntentAPI) SendEphemeral(ctx context.Context, roomID id.RoomID, eventType event.Type, content *event.Content, txnID string) (*mautrix.RespSendEvent, error) {
|
||||
return intent.SendEphemeralEvent(ctx, roomID, eventType, content, txnID)
|
||||
}
|
||||
|
||||
// Deprecated: use SendMessageEvent with mautrix.ReqSendEvent.Timestamp instead
|
||||
func (intent *IntentAPI) SendMassagedMessageEvent(ctx context.Context, roomID id.RoomID, eventType event.Type, contentJSON interface{}, ts int64) (*mautrix.RespSendEvent, error) {
|
||||
return intent.SendMessageEvent(ctx, roomID, eventType, contentJSON, mautrix.ReqSendEvent{Timestamp: ts})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue