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).

Use sürümünden beri kullanım dışı: Voice if the message has a voice message (usually recorded). Use File if the message has a music file (usually uploaded).

File = 'File'

File message.

Image = 'Image'

Image (picture) message.

Notlar

Animated GIF images must use Animation type instead.

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.