Sabitler¶
- class ehforwarderbot.constants.MsgType(value)[kaynak]¶
Bir sayım.
- Animation = 'Animation'¶
Message with an animation, usually in the form of GIF or soundless video.
- Audio = 'Voice'¶
Audio messages (deprecated).
- File = 'File'¶
File message.
- Image = 'Image'¶
Image (picture) message.
Notlar
Animated GIF images must use
Animation
type instead.
- Link = 'Link'¶
Başlıca tek bir bağlantı içeren mesaj, veya bir bağlantı önizlemesi içeren metin mesajı.
- Location = 'Location'¶
Konum mesajı.
- Status = 'Status'¶
Sohbetteki bir kullanıcının durumu, genellikle yazma ve yükleme.
- Sticker = 'Sticker'¶
Birkaç metin yazısı ile gönderilmiş resim, genellikle şeffaf bir arkaplan, ve genellikle kullanıcının fotoğraf galerisinde bulunmayan sınırlı sayıda seçenekler.
- Text = 'Text'¶
Metin mesajı
- Unsupported = 'Unsupported'¶
Yukarıda listelenmeyen her tür mesaj. Metin gösterimi gereklidir.
- Video = 'Video'¶
Video mesajı
- Voice = 'Voice'¶
Voice messages, usually recorded right before sending.