#6 allow send_force

Terbuka
dibuka 2 tahun lalu oleh basiliscos · 0 komentar

There are cases, when new messages are more important than old ones (e.g. logging, telemetry etc.), and current send method has no semantics to "overwrite older message, if there is no space for a new message".

The send_force has the described semantics. It returns true if the older message has been overwritten, and false otherwise.

There are cases, when new messages are more important than old ones (e.g. logging, telemetry etc.), and current `send` method has no semantics to "overwrite older message, if there is no space for a new message". The `send_force` has the described semantics. It returns `true` if the older message has been overwritten, and false otherwise.
basiliscos referenced this issue from a commit 2 tahun lalu
Masuk untuk bergabung dalam percakapan ini.
Tidak ada Label
Tidak ada tonggak
Tidak ada penerima
1 Peserta
Memuat...
Batal
Simpan
Belum ada konten.