예제 #1
0
 public UrlButton(Manager mngr, TLMessage message, TLKeyboardButtonUrl msgbtn, BtnPosition pos) : base(mngr, message, pos)
 {
     type         = ButtonType.Data;
     this.Url     = msgbtn.Url;
     this.Caption = this.Url;
 }
예제 #2
0
 public Button(Manager mngr, TLMessage message, BtnPosition pos)
 {
     this.mngr     = mngr;
     this.message  = message;
     this.Position = pos;
 }
예제 #3
0
 public DataButton(Manager mngr, TLMessage message, TLKeyboardButtonCallback msgbtn, BtnPosition pos) : base(mngr, message, pos)
 {
     type         = ButtonType.Data;
     this.Caption = msgbtn.Text;
 }